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

Function floatx

tensorflow/python/keras/backend_config.py:61–74  ·  view source on GitHub ↗

Returns the default float type, as a string. E.g. 'float16', 'float32', 'float64'. Returns: String, the current default float type. Example: ```python keras.backend.floatx() >>> 'float32' ```

()

Source from the content-addressed store, hash-verified

59
60@keras_export('keras.backend.floatx')
61def floatx():
62 """Returns the default float type, as a string.
63
64 E.g. 'float16', 'float32', 'float64'.
65
66 Returns:
67 String, the current default float type.
68
69 Example:
70 ```python
71 keras.backend.floatx() >>> 'float32'
72 ```
73 """
74 return _FLOATX
75
76
77@keras_export('keras.backend.set_floatx')

Callers 15

cast_to_floatxFunction · 0.85
variableFunction · 0.85
constantFunction · 0.85
placeholderFunction · 0.85
zerosFunction · 0.85
onesFunction · 0.85
eyeFunction · 0.85
random_uniform_variableFunction · 0.85
random_normal_variableFunction · 0.85
varFunction · 0.85
stdFunction · 0.85
meanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected