Home
last modified time | relevance | path

Searched refs:conv_output_length (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/python/layers/
Dutils_test.py66 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))
Dutils.py107 def conv_output_length(input_length, filter_size, padding, stride, dilation=1): function
/external/tensorflow/tensorflow/python/keras/utils/
Dconv_utils_test.py100 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))
Dconv_utils.py90 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/
Dpooling.py91 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],
Dlocal.py168 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],
Dconvolutional.py219 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],
Dconvolutional_recurrent.py196 rows = conv_utils.conv_output_length(rows,
201 cols = conv_utils.conv_output_length(cols,
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
Dcore_layers.py220 new_dim = utils.conv_output_length(
233 new_dim = utils.conv_output_length(