shape

property Tensor5.shape

As for numpy.ndarray