Skip to main content

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?