Closed jgehring closed 6 years ago
This information can easily be recovered from numel() and type().elementSizeInBytes().
numel()
type().elementSizeInBytes()
Note that this will result in corrupt data when attempting to load previously saved tensors (which is unfortunate).
This information can easily be recovered from
numel()
andtype().elementSizeInBytes()
.Note that this will result in corrupt data when attempting to load previously saved tensors (which is unfortunate).