Skip to main content

Mojo function

fold_shape

fold_shape[dtype: DType](input: TileTensor[dtype, LayoutType, origin, address_space=address_space, linear_idx_type=linear_idx_type, element_shape_types=element_shape_types], 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?