Searched refs:normalize_tuple (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/python/layers/ |
D | utils_test.py | 39 self.assertEqual((2, 2, 2), utils.normalize_tuple(2, n=3, name='strides')) 41 (2, 1, 2), utils.normalize_tuple((2, 1, 2), n=3, name='strides')) 44 utils.normalize_tuple((2, 1), n=3, name='strides') 47 utils.normalize_tuple(None, n=3, name='strides')
|
D | utils.py | 51 def normalize_tuple(value, n, name): function
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | convolutional.py | 125 self.kernel_size = conv_utils.normalize_tuple( 127 self.strides = conv_utils.normalize_tuple(strides, rank, 'strides') 134 self.dilation_rate = conv_utils.normalize_tuple( 733 self.output_padding = conv_utils.normalize_tuple( 1006 self.output_padding = conv_utils.normalize_tuple( 1945 self.size = conv_utils.normalize_tuple(size, 2, 'size') 2018 self.size = conv_utils.normalize_tuple(size, 3, 'size') 2075 self.padding = conv_utils.normalize_tuple(padding, 2, 'padding') 2147 height_padding = conv_utils.normalize_tuple(padding[0], 2, 2149 width_padding = conv_utils.normalize_tuple(padding[1], 2, [all …]
|
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') 230 self.pool_size = conv_utils.normalize_tuple(pool_size, 2, 'pool_size') 231 self.strides = conv_utils.normalize_tuple(strides, 2, 'strides') 417 self.pool_size = conv_utils.normalize_tuple(pool_size, 3, 'pool_size') 418 self.strides = conv_utils.normalize_tuple(strides, 3, 'strides')
|
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') 413 self.kernel_size = conv_utils.normalize_tuple(kernel_size, 2, 'kernel_size') 414 self.strides = conv_utils.normalize_tuple(strides, 2, 'strides')
|
D | convolutional_recurrent.py | 574 self.kernel_size = conv_utils.normalize_tuple(kernel_size, 2, 'kernel_size') 575 self.strides = conv_utils.normalize_tuple(strides, 2, 'strides') 578 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 | 51 def normalize_tuple(value, n, name): function
|
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/ |
D | core_layers.py | 111 self.kernel_size = utils.normalize_tuple(kernel_size, rank, 'kernel_size') 112 self.strides = utils.normalize_tuple(strides, rank, 'strides') 115 self.dilation_rate = utils.normalize_tuple(dilation_rate, rank,
|