giagrad.Tensor.shape#

property Tensor.shape: Tuple[int, ...]#

Tuple of tensor dimensions.

Unlike numpy.ndarray.shape it can not be used to reshape inplace.