pytorch / 2 / generated / torch.tensor.is_meta.html

torch.Tensor.is_meta

Tensor.is_meta

Is True if the Tensor is a meta tensor, False otherwise. Meta tensors are like normal tensors, but they carry no data.

© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch.Tensor.is_meta.html