Searched refs:conv_output_length (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/python/layers/ |
D | utils_test.py | 69 self.assertEqual(4, utils.conv_output_length(4, 2, 'same', 1, 1)) 70 self.assertEqual(2, utils.conv_output_length(4, 2, 'same', 2, 1)) 71 self.assertEqual(3, utils.conv_output_length(4, 2, 'valid', 1, 1)) 72 self.assertEqual(2, utils.conv_output_length(4, 2, 'valid', 2, 1)) 73 self.assertEqual(5, utils.conv_output_length(4, 2, 'full', 1, 1)) 74 self.assertEqual(3, utils.conv_output_length(4, 2, 'full', 2, 1)) 75 self.assertEqual(2, utils.conv_output_length(5, 2, 'valid', 2, 2))
|
D | utils.py | 105 def conv_output_length(input_length, filter_size, padding, stride, dilation=1): function
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | conv_utils_test.py | 100 self.assertEqual(4, conv_utils.conv_output_length(4, 2, 'same', 1, 1)) 101 self.assertEqual(2, conv_utils.conv_output_length(4, 2, 'same', 2, 1)) 102 self.assertEqual(3, conv_utils.conv_output_length(4, 2, 'valid', 1, 1)) 103 self.assertEqual(2, conv_utils.conv_output_length(4, 2, 'valid', 2, 1)) 104 self.assertEqual(5, conv_utils.conv_output_length(4, 2, 'full', 1, 1)) 105 self.assertEqual(3, conv_utils.conv_output_length(4, 2, 'full', 2, 1)) 106 self.assertEqual(2, conv_utils.conv_output_length(5, 2, 'valid', 2, 2))
|
D | conv_utils.py | 93 def conv_output_length(input_length, filter_size, padding, stride, dilation=1): function 467 conv_output_length(input_shape[d], kernel_shape[d], padding, strides[d])
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | pooling.py | 91 length = conv_utils.conv_output_length(steps, 311 rows = conv_utils.conv_output_length(rows, self.pool_size[0], self.padding, 313 cols = conv_utils.conv_output_length(cols, self.pool_size[1], self.padding, 591 len_dim1 = conv_utils.conv_output_length(len_dim1, self.pool_size[0], 593 len_dim2 = conv_utils.conv_output_length(len_dim2, self.pool_size[1], 595 len_dim3 = conv_utils.conv_output_length(len_dim3, self.pool_size[2],
|
D | local.py | 169 self.output_length = conv_utils.conv_output_length(input_length, 256 length = conv_utils.conv_output_length(input_length, self.kernel_size[0], 473 output_row = conv_utils.conv_output_length(input_row, self.kernel_size[0], 475 output_col = conv_utils.conv_output_length(input_col, self.kernel_size[1], 563 rows = conv_utils.conv_output_length(rows, self.kernel_size[0], 565 cols = conv_utils.conv_output_length(cols, self.kernel_size[1],
|
D | convolutional_recurrent.py | 195 rows = conv_utils.conv_output_length(rows, 200 cols = conv_utils.conv_output_length(cols,
|
D | convolutional.py | 283 conv_utils.conv_output_length( 2447 rows = conv_utils.conv_output_length(rows, self.kernel_size[0], 2451 cols = conv_utils.conv_output_length(cols, self.kernel_size[1],
|