shape

property Tensor6.shape

As for numpy.ndarray