For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo function
as_dynamic_row_major_1d
def as_dynamic_row_major_1d[dtype: DType](tensor: LayoutTensor[dtype, element_layout=tensor.element_layout, layout_int_type=tensor.layout_int_type, linear_idx_type=tensor.linear_idx_type, masked=tensor.masked, alignment=tensor.alignment]) -> LayoutTensor[dtype, Layout.row_major(Int(-1)), ImmutAnyOrigin]
Returns:
LayoutTensor[dtype, Layout.row_major(Int(-1)), ImmutAnyOrigin]
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!