Searched refs:conv_input_length (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/python/layers/ |
D | utils_test.py | 75 self.assertEqual(3, utils.conv_input_length(4, 2, 'same', 1)) 76 self.assertEqual(2, utils.conv_input_length(2, 2, 'same', 2)) 77 self.assertEqual(4, utils.conv_input_length(3, 2, 'valid', 1)) 78 self.assertEqual(4, utils.conv_input_length(2, 2, 'valid', 2)) 79 self.assertEqual(3, utils.conv_input_length(4, 2, 'full', 1)) 80 self.assertEqual(4, utils.conv_input_length(3, 2, 'full', 2))
|
D | utils.py | 133 def conv_input_length(output_length, filter_size, padding, stride): function
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | conv_utils_test.py | 109 self.assertEqual(3, conv_utils.conv_input_length(4, 2, 'same', 1)) 110 self.assertEqual(2, conv_utils.conv_input_length(2, 2, 'same', 2)) 111 self.assertEqual(4, conv_utils.conv_input_length(3, 2, 'valid', 1)) 112 self.assertEqual(4, conv_utils.conv_input_length(2, 2, 'valid', 2)) 113 self.assertEqual(3, conv_utils.conv_input_length(4, 2, 'full', 1)) 114 self.assertEqual(4, conv_utils.conv_input_length(3, 2, 'full', 2))
|
D | conv_utils.py | 116 def conv_input_length(output_length, filter_size, padding, stride): function
|