Searched refs:normalize_tuple (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/python/layers/ |
D | utils_test.py | 42 self.assertEqual((2, 2, 2), utils.normalize_tuple(2, n=3, name='strides')) 44 (2, 1, 2), utils.normalize_tuple((2, 1, 2), n=3, name='strides')) 47 utils.normalize_tuple((2, 1), n=3, name='strides') 50 utils.normalize_tuple(None, n=3, name='strides')
|
D | utils.py | 49 def normalize_tuple(value, n, name): function
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | pooling.py | 66 self.pool_size = conv_utils.normalize_tuple(pool_size, 1, 'pool_size') 67 self.strides = conv_utils.normalize_tuple(strides, 1, 'strides') 282 self.pool_size = conv_utils.normalize_tuple(pool_size, 2, 'pool_size') 283 self.strides = conv_utils.normalize_tuple(strides, 2, 'strides') 555 self.pool_size = conv_utils.normalize_tuple(pool_size, 3, 'pool_size') 556 self.strides = conv_utils.normalize_tuple(strides, 3, 'strides')
|
D | convolutional.py | 146 self.kernel_size = conv_utils.normalize_tuple( 148 self.strides = conv_utils.normalize_tuple(strides, rank, 'strides') 151 self.dilation_rate = conv_utils.normalize_tuple( 956 self.output_padding = conv_utils.normalize_tuple( 1227 self.output_padding = conv_utils.normalize_tuple( 1537 self.output_padding = conv_utils.normalize_tuple( 2598 self.size = conv_utils.normalize_tuple(size, 2, 'size') 2683 self.size = conv_utils.normalize_tuple(size, 3, 'size') 2765 self.padding = conv_utils.normalize_tuple(padding, 2, 'padding') 2860 height_padding = conv_utils.normalize_tuple(padding[0], 2, [all …]
|
D | local.py | 138 self.kernel_size = conv_utils.normalize_tuple(kernel_size, 1, 'kernel_size') 139 self.strides = conv_utils.normalize_tuple(strides, 1, 'strides') 440 self.kernel_size = conv_utils.normalize_tuple(kernel_size, 2, 'kernel_size') 441 self.strides = conv_utils.normalize_tuple(strides, 2, 'strides')
|
D | convolutional_recurrent.py | 516 self.kernel_size = conv_utils.normalize_tuple(kernel_size, 2, 'kernel_size') 517 self.strides = conv_utils.normalize_tuple(strides, 2, 'strides') 520 self.dilation_rate = conv_utils.normalize_tuple(dilation_rate, 2,
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | conv_utils_test.py | 73 conv_utils.normalize_tuple(2, n=3, name='strides')) 75 conv_utils.normalize_tuple((2, 1, 2), n=3, name='strides')) 78 conv_utils.normalize_tuple((2, 1), n=3, name='strides') 81 conv_utils.normalize_tuple(None, n=3, name='strides')
|
D | conv_utils.py | 54 def normalize_tuple(value, n, name): function
|