MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / image_data_format

Function image_data_format

tensorflow/python/keras/backend_config.py:96–107  ·  view source on GitHub ↗

Returns the default image data format convention. Returns: A string, either `'channels_first'` or `'channels_last'` Example: ```python keras.backend.image_data_format() >>> 'channels_first' ```

()

Source from the content-addressed store, hash-verified

94
95@keras_export('keras.backend.image_data_format')
96def image_data_format():
97 """Returns the default image data format convention.
98
99 Returns:
100 A string, either `'channels_first'` or `'channels_last'`
101
102 Example:
103 ```python
104 keras.backend.image_data_format() >>> 'channels_first'
105 ```
106 """
107 return _IMAGE_DATA_FORMAT
108
109
110@keras_export('keras.backend.set_image_data_format')

Callers 15

spatial_2d_paddingFunction · 0.85
spatial_3d_paddingFunction · 0.85
conv1dFunction · 0.85
conv2dFunction · 0.85
conv2d_transposeFunction · 0.85
separable_conv1dFunction · 0.85
separable_conv2dFunction · 0.85
depthwise_conv2dFunction · 0.85
conv3dFunction · 0.85
conv3d_transposeFunction · 0.85
pool2dFunction · 0.85
pool3dFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected