Mojo function
ndbuffer_reshape
ndbuffer_reshape[rank: Int, output_rank: Int, dtype: DType, single_thread_blocking_override: Bool](input: NDBuffer[dtype, rank, origin], new_shape: IndexList[output_rank]) -> NDBuffer[dtype, output_rank, origin]
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!