Rate this Page
โ˜… โ˜… โ˜… โ˜… โ˜…

torch.Tensor.nbytes#

Tensor.nbytes#

Returns the number of bytes consumed by the โ€œviewโ€ of elements of the Tensor if the Tensor does not use sparse storage layout. Defined to be numel() * element_size()