Contents

MLTensorRangeExpression

A type that can be used to slice a dimension of a tensor. Don’t use this type directly.

Declaration

protocol MLTensorRangeExpression : Sendable

Topics

Expanding and squeezing the tensor

Slicing the tensor

See Also

Model tensor