Mojo function
pack_conv_filter_shape
pack_conv_filter_shape[single_thread_blocking_override: Bool](filter: LayoutTensor[dtype, layout, origin, address_space=address_space, element_layout=element_layout, layout_int_type=layout_int_type, linear_idx_type=linear_idx_type, masked=masked, alignment=alignment], num_groups: Int) -> IndexList[(layout.rank() + 1)]
Compute the output shape of convolution filter packing.
Parameters:
- โsingle_thread_blocking_override (
Bool): If True, then the operation is run synchronously using a single thread.
Args:
- โfilter (
LayoutTensor): The filter to be packed. - โnum_groups (
Int): The number of groups in the convolution.
Returns:
IndexList: The output shape.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!