Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/layers/
Dutils_test.py69 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))
Dutils.py105 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.py93 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/
Dpooling.py91 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],
Dlocal.py169 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],
Dconvolutional_recurrent.py195 rows = conv_utils.conv_output_length(rows,
200 cols = conv_utils.conv_output_length(cols,
Dconvolutional.py283 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],