    def test_get_padding_value(self):
        """
        Test get_padding_value function.
        """
        kernel = 3
        stride = 1
        dilation = 1

        padding, dynamic = get_padding_value('same', kernel, stride=stride, dilation=dilation)
        self.assertEqual(padding, 1)
        self.assertEqual(dynamic, False)
Test get_padding_value function.
tests/unittests/models/layers/test_padding_functions.py