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.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!