Mojo function
get_conv2d_shape
get_conv2d_shape[output_shape: DimList, input_shape: DimList, filter_shape: DimList, type: DType, data_layout: Image2DLayout, filter_layout: Image2DLayout](output: NDBuffer[type, 4, origin, output_shape], input: NDBuffer[type, 4, origin, input_shape], filter: NDBuffer[type, 4, origin, filter_shape], pad_h: Index[2], pad_w: Index[2], stride: Index[2], dilation: Index[2], num_groups: Int) -> ConvShape[2]
get_conv2d_shape[filter_rank: Int, output_shape: DimList, input_shape: DimList, filter_shape: DimList, type: DType, data_layout: Image2DLayout, filter_layout: Image2DLayout](output: NDBuffer[type, 4, origin, output_shape], input: NDBuffer[type, 4, origin, input_shape], filter: NDBuffer[type, filter_rank, origin, filter_shape], pad_h: Index[2], pad_w: Index[2], stride: Index[2], dilation: Index[2], num_groups: Int) -> ConvShape[2]
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!