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

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_layout

Structs​

Functions​

  • ​coalesce: Coalesce adjacent dimensions in a runtime layout when possible.
  • ​make_layout: Combine two runtime layouts into a single composite layout.

Was this page helpful?