Function calculate_conv_transpose_output_shape
pub fn calculate_conv_transpose_output_shape<const N: usize>(
in_shape: &Shape,
weight_shape: &Shape,
stride: &[usize; N],
padding: &[usize; N],
padding_out: &[usize; N],
dilation: &[usize; N],
groups: usize,
) -> Result<Shape, ShapeError>Expand description
Calculate the expected output shape [batch_size, channels_out, spatial_dims, ..] for a transposed convolution.