Skip to main content

module

tensor_spec

Implements the TensorSpec type.

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

from tensor import TensorSpec

Structs

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