评价此页

torch.Tensor.is_meta#

Tensor.is_meta#

如果 Tensor 是一个元张量,则返回 True,否则返回 False。元张量就像普通张量一样,但它们不包含数据。