Skip to main content
Log in

Mojo module

tensor_shape

Implements the TensorShape type.

You can import these APIs from the tensor package. For example:

from max.tensor import TensorShape

Structs​

  • ​TensorShape: A space efficient representation of a tensor shape. This struct implements value semantics and owns its underlying data.

Was this page helpful?