Home
last modified time | relevance | path

Searched refs:image_data_format (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/python/keras/
Dbackend_config_test.py47 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')
Dbackend_config.py116 def image_data_format(): function
Dbackend.py173 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 …]
Dcallbacks_v1.py196 if K.image_data_format() == 'channels_last':
/external/tensorflow/tensorflow/python/keras/applications/
Dmobilenet.py182 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
Dmobilenet_v2.py207 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
Dnasnet.py175 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
Dmobilenet_v3.py186 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
Dinception_resnet_v2.py132 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
Ddensenet.py84 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
Dresnet.py152 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
Dapplications_test.py119 if backend.image_data_format() == 'channels_first':
128 if backend.image_data_format() == 'channels_first':
Dinception_v3.py127 data_format=backend.image_data_format(),
139 if backend.image_data_format() == 'channels_first':
392 if backend.image_data_format() == 'channels_first':
Dimagenet_utils.py110 data_format = backend.image_data_format()
398 img_dim = 2 if backend.image_data_format() == 'channels_first' else 1
Defficientnet.py287 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
Dxception.py132 data_format=backend.image_data_format(),
144 channel_axis = 1 if backend.image_data_format() == 'channels_first' else -1
Dvgg16.py131 data_format=backend.image_data_format(),
Dvgg19.py131 data_format=backend.image_data_format(),
/external/tensorflow/tensorflow/python/keras/preprocessing/
Dimage.py185 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/
Dtraining_gpu_test.py44 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/
Dcifar100.py80 if K.image_data_format() == 'channels_last':
Dcifar10.py75 if K.image_data_format() == 'channels_last':
/external/tensorflow/tensorflow/python/keras/layers/
Dpooling.py62 data_format = backend.image_data_format()
278 data_format = backend.image_data_format()
551 data_format = backend.image_data_format()
Dcore.py332 data_format = K.image_data_format()
390 data_format = K.image_data_format()
/external/tensorflow/tensorflow/python/keras/utils/
Dconv_utils.py194 value = backend.image_data_format()

12