Mojo function
as_dynamic_row_major_1d
as_dynamic_row_major_1d[dtype: DType](tensor: LayoutTensor[dtype, tensor.layout, tensor.origin, 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(-1), ImmutAnyOrigin]
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!