Searched refs:image_data_format (Results 1 – 25 of 29) sorted by relevance
12
/external/tensorflow/tensorflow/python/keras/ |
D | backend_config_test.py | 47 image_data_format = 'channels_first' 48 backend_config.set_image_data_format(image_data_format) 49 self.assertEqual(backend_config.image_data_format(), image_data_format) 51 self.assertEqual(backend_config.image_data_format(), 'channels_last')
|
D | backend_config.py | 116 def image_data_format(): function
|
D | backend.py | 173 image_data_format = backend_config.image_data_format variable 3555 data_format = image_data_format() 3598 data_format = image_data_format() 5351 data_format = image_data_format() 5403 data_format = image_data_format() 5452 data_format = image_data_format() 5522 data_format = image_data_format() 5594 data_format = image_data_format() 5650 data_format = image_data_format() 5700 data_format = image_data_format() [all …]
|
D | callbacks_v1.py | 196 if K.image_data_format() == 'channels_last':
|
/external/tensorflow/tensorflow/python/keras/applications/ |
D | mobilenet.py | 182 if backend.image_data_format() == 'channels_first': 198 data_format=backend.image_data_format(), 202 if backend.image_data_format() == 'channels_last': 258 if backend.image_data_format() == 'channels_first': 351 channel_axis = 1 if backend.image_data_format() == 'channels_first' else -1 410 channel_axis = 1 if backend.image_data_format() == 'channels_first' else -1
|
D | mobilenet_v2.py | 207 if backend.image_data_format() == 'channels_first': 233 if backend.image_data_format() == 'channels_first': 251 if backend.image_data_format() == 'channels_first': 267 data_format=backend.image_data_format(), 271 if backend.image_data_format() == 'channels_last': 299 channel_axis = 1 if backend.image_data_format() == 'channels_first' else -1 416 channel_axis = 1 if backend.image_data_format() == 'channels_first' else -1
|
D | nasnet.py | 175 data_format=backend.image_data_format(), 179 if backend.image_data_format() != 'channels_last': 208 channel_dim = 1 if backend.image_data_format() == 'channels_first' else -1 492 channel_dim = 1 if backend.image_data_format() == 'channels_first' else -1 550 channel_dim = 1 if backend.image_data_format() == 'channels_first' else -1 551 img_dim = 2 if backend.image_data_format() == 'channels_first' else -2 633 channel_dim = 1 if backend.image_data_format() == 'channels_first' else -1 712 channel_dim = 1 if backend.image_data_format() == 'channels_first' else -1
|
D | mobilenet_v3.py | 186 if backend.image_data_format() == 'channels_first': 210 if backend.image_data_format() == 'channels_first': 222 if backend.image_data_format() == 'channels_last': 252 channel_axis = 1 if backend.image_data_format() == 'channels_first' else -1 467 if backend.image_data_format() == 'channels_first': 491 channel_axis = 1 if backend.image_data_format() == 'channels_first' else -1
|
D | inception_resnet_v2.py | 132 data_format=backend.image_data_format(), 163 channel_axis = 1 if backend.image_data_format() == 'channels_first' else 3 286 bn_axis = 1 if backend.image_data_format() == 'channels_first' else 3 356 channel_axis = 1 if backend.image_data_format() == 'channels_first' else 3
|
D | densenet.py | 84 bn_axis = 3 if backend.image_data_format() == 'channels_last' else 1 110 bn_axis = 3 if backend.image_data_format() == 'channels_last' else 1 211 data_format=backend.image_data_format(), 223 bn_axis = 3 if backend.image_data_format() == 'channels_last' else 1
|
D | resnet.py | 152 data_format=backend.image_data_format(), 164 bn_axis = 3 if backend.image_data_format() == 'channels_last' else 1 241 bn_axis = 3 if backend.image_data_format() == 'channels_last' else 1 305 bn_axis = 3 if backend.image_data_format() == 'channels_last' else 1 381 bn_axis = 3 if backend.image_data_format() == 'channels_last' else 1
|
D | applications_test.py | 119 if backend.image_data_format() == 'channels_first': 128 if backend.image_data_format() == 'channels_first':
|
D | inception_v3.py | 127 data_format=backend.image_data_format(), 139 if backend.image_data_format() == 'channels_first': 392 if backend.image_data_format() == 'channels_first':
|
D | imagenet_utils.py | 110 data_format = backend.image_data_format() 398 img_dim = 2 if backend.image_data_format() == 'channels_first' else 1
|
D | efficientnet.py | 287 data_format=backend.image_data_format(), 299 bn_axis = 3 if backend.image_data_format() == 'channels_last' else 1 442 bn_axis = 3 if backend.image_data_format() == 'channels_last' else 1
|
D | xception.py | 132 data_format=backend.image_data_format(), 144 channel_axis = 1 if backend.image_data_format() == 'channels_first' else -1
|
D | vgg16.py | 131 data_format=backend.image_data_format(),
|
D | vgg19.py | 131 data_format=backend.image_data_format(),
|
/external/tensorflow/tensorflow/python/keras/preprocessing/ |
D | image.py | 185 data_format = backend.image_data_format() 226 data_format = backend.image_data_format() 257 data_format = backend.image_data_format() 373 data_format = backend.image_data_format() 442 data_format = backend.image_data_format() 786 data_format = backend.image_data_format()
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_gpu_test.py | 44 axis = 1 if K.image_data_format() == 'channels_first' else -1 92 old_data_format = K.image_data_format()
|
/external/tensorflow/tensorflow/python/keras/datasets/ |
D | cifar100.py | 80 if K.image_data_format() == 'channels_last':
|
D | cifar10.py | 75 if K.image_data_format() == 'channels_last':
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | pooling.py | 62 data_format = backend.image_data_format() 278 data_format = backend.image_data_format() 551 data_format = backend.image_data_format()
|
D | core.py | 332 data_format = K.image_data_format() 390 data_format = K.image_data_format()
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | conv_utils.py | 194 value = backend.image_data_format()
|
12