    def test_get_padding(self):
        """
        Test get_padding_function.
        """
        kernel_size = 3
        stride = 1
        dilation = 1
        self.assertEqual(get_padding(kernel_size, stride, dilation), 1)

        kernel_size = 3
        stride = 2
        dilation = 2
        self.assertEqual(get_padding(kernel_size, stride, dilation), 2)
Test get_padding_function.
tests/unittests/models/layers/test_padding_functions.py