Skip to main content

Mojo function

pack_filter_shape

pack_filter_shape(filter: TileTensor[dtype, LayoutType, origin, address_space=address_space, linear_idx_type=linear_idx_type, element_shape_types=element_shape_types], num_groups: Int) -> IndexList[(TileTensor[dtype, LayoutType, origin, address_space=address_space, linear_idx_type=linear_idx_type, element_shape_types=element_shape_types].rank + 1)]

Compute the output shape of transposed convolution filter packing.

Args:

  • filter (TileTensor): The filter to be packed.
  • num_groups (Int): The number of groups in the convolution.

Returns:

IndexList: The output shape.

Was this page helpful?