shape

TensorInfo.shape()

Retrieves the shape of the tensor associated with the current TensorInfo object.

Returns:

shape -- The shape of the tensor.

Return type:

Numpy.shape