Searched refs:conv_output_length (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/python/layers/ |
D | utils_test.py | 66 self.assertEqual(4, utils.conv_output_length(4, 2, 'same', 1, 1)) 67 self.assertEqual(2, utils.conv_output_length(4, 2, 'same', 2, 1)) 68 self.assertEqual(3, utils.conv_output_length(4, 2, 'valid', 1, 1)) 69 self.assertEqual(2, utils.conv_output_length(4, 2, 'valid', 2, 1)) 70 self.assertEqual(5, utils.conv_output_length(4, 2, 'full', 1, 1)) 71 self.assertEqual(3, utils.conv_output_length(4, 2, 'full', 2, 1)) 72 self.assertEqual(2, utils.conv_output_length(5, 2, 'valid', 2, 2))
|
D | utils.py | 107 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 | 90 def conv_output_length(input_length, filter_size, padding, stride, dilation=1): function 385 output_shape = [conv_output_length(input_shape[d],
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | pooling.py | 91 length = conv_utils.conv_output_length(steps, 259 rows = conv_utils.conv_output_length(rows, self.pool_size[0], self.padding, 261 cols = conv_utils.conv_output_length(cols, self.pool_size[1], self.padding, 453 len_dim1 = conv_utils.conv_output_length(len_dim1, self.pool_size[0], 455 len_dim2 = conv_utils.conv_output_length(len_dim2, self.pool_size[1], 457 len_dim3 = conv_utils.conv_output_length(len_dim3, self.pool_size[2],
|
D | local.py | 168 self.output_length = conv_utils.conv_output_length( 232 length = conv_utils.conv_output_length(input_length, self.kernel_size[0], 446 output_row = conv_utils.conv_output_length(input_row, self.kernel_size[0], 448 output_col = conv_utils.conv_output_length(input_col, self.kernel_size[1], 517 rows = conv_utils.conv_output_length(rows, self.kernel_size[0], 519 cols = conv_utils.conv_output_length(cols, self.kernel_size[1],
|
D | convolutional.py | 219 new_dim = conv_utils.conv_output_length( 232 new_dim = conv_utils.conv_output_length( 1838 rows = conv_utils.conv_output_length(rows, self.kernel_size[0], 1841 cols = conv_utils.conv_output_length(cols, self.kernel_size[1],
|
D | convolutional_recurrent.py | 196 rows = conv_utils.conv_output_length(rows, 201 cols = conv_utils.conv_output_length(cols,
|
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/ |
D | core_layers.py | 220 new_dim = utils.conv_output_length( 233 new_dim = utils.conv_output_length(
|