IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /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. /get-started.md).

Mojo module

tile_tensor

TileTensor type for structured memory access with compile-time layout information.

comptime values

LTToTTLayout

comptime LTToTTLayout[lt_layout: Layout] = Layout[*?, *?]

Derive a TileTensor Layout from a legacy Layout.

Known dimensions become ComptimeInt, UNKNOWN_VALUE dimensions become Scalar. Hierarchical layouts (e.g. from tile_to_shape) are collapsed via product_each so each mode becomes a single value.

Parameters

  • lt_layout (Layout): The legacy Layout to convert.

Structs

  • NullableTileTensor: A TileTensor variant whose pointer may be absent (null).
  • TileTensor: A tensor type with trait-based layouts supporting nested and hierarchical indexing.

Functions

Was this page helpful?