shape

property Tensor3.shape

As for numpy.ndarray