IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Mojo trait

TransformAccess

Marker trait: this tensor transforms a kernel-computed SIMD value.

The kernel passes each computed value through a fused epilogue instead of storing directly; the parent kernel does the final store. Like the other markers it carries no method; the kernel refines to Transformable in its body for the transform call.

Implemented traits​

AnyType, Tensor

comptime members​

dtype​

comptime dtype

rank​

comptime rank

ShapeType​

comptime ShapeType

Required methods​

shape​

def shape(self) -> Self.ShapeType

Returns the tensor's runtime shape.

Returns:

_Self.ShapeType: The shape as a Coord of the argument's ShapeType.

Was this page helpful?