Skip to main content

Mojo function

pack_conv_filter_shape

pack_conv_filter_shape(filter: TileTensor[filter.dtype, filter.LayoutType, filter.origin, address_space=filter.address_space, linear_idx_type=filter.linear_idx_type, element_size=filter.element_size], num_groups: Int) -> IndexList[(filter.flat_rank + 1)]

Compute the output shape of 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?