Mojo function
compact_order
compact_order(shape: IntTuple[origin], order: IntTuple[origin]) -> IntTuple
Create a compact stride such that lower order number implies faster varying stride. A shape and a compact stride forms a layout that is bijective.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!