Function burn::tensor::ops::conv::calculate_conv_padding
pub fn calculate_conv_padding(
kernel_size: usize,
stride: usize,
size_in: usize,
size_out: usize,
) -> usize
Expand description
Calculate the expected padding size required when applying a convolution.