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
runtime_layout
Provides the RuntimeLayout type and functions for working with it. You can use RuntimeLayout to define a layout where the dimensions are not known at compile time.
You can import these APIs from layout.runtime_layout.
from layout.runtime_layout import RuntimeLayout, make_layoutStructsβ
- β
RuntimeLayout: A runtime-configurable layout that usesRuntimeTuplefor storage.
Functionsβ
- β
coalesce: Coalesce adjacent dimensions in a runtime layout when possible. - β
make_layout: Combine two runtime layouts into a single composite layout.