Skip to main content

Mojo function

fold_shape

fold_shape[dtype: DType, input_dim: DimList](input: NDBuffer[dtype, 3, MutableAnyOrigin, input_dim], output_size: IndexList[2], kernel_size: IndexList[2]) -> IndexList[4]

Returns the shape of the output tensor of the fold operation.

Was this page helpful?