tf.keras.dtype_policies.serialize

Serializes DTypePolicy instance.

dtype_policy A Keras DTypePolicy instance.

DTypePolicy configuration dictionary.