Mojo function
reshape
reshape[dtype: DType, //, output_rank: Int](input: TileTensor[dtype, input.LayoutType, input.origin, address_space=input.address_space, linear_idx_type=input.linear_idx_type, element_size=input.element_size], new_shape: IndexList[output_rank]) -> TileTensor[dtype, Layout[*?, *?], input.origin, address_space=input.address_space]
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!