Created
January 16, 2020 16:07
-
-
Save RaphaelMeudec/7c235a56eef5ff74f86498d1664f28f5 to your computer and use it in GitHub Desktop.
Lines to turn float32 into mixed precision training
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
policy = tf.keras.mixed_precision.experimental.Policy('mixed_float16') | |
tf.keras.mixed_precision.experimental.set_policy(policy) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment