Skip to main content

Mojo function

fold_shape

fold_shape[dtype: DType](input: TileTensor[dtype, input.LayoutType, input.origin, address_space=input.address_space, linear_idx_type=input.linear_idx_type, element_size=input.element_size], output_size: IndexList[2], kernel_size: IndexList[2]) -> IndexList[4]

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

Returns:

IndexList

Was this page helpful?