View source on GitHub |
Deserializes a serialized DTypePolicy
instance.
tf.keras.dtype_policies.deserialize(
config, custom_objects=None
)
Args | |
---|---|
config
|
DTypePolicy configuration.
|
custom_objects
|
Optional dictionary mapping names (strings) to custom objects (classes and functions) to be considered during deserialization. |
Returns | |
---|---|
A Keras DTypePolicy instance.
|