Skip to content

Commit

Permalink
Update precision_plugin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
justusschock committed Jan 31, 2021
1 parent c028522 commit b202ddf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pytorch_lightning/plugins/precision/precision_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@


class PrecisionPlugin(Plugin):
""" Plugin handling the precision-specific parts of the training.
The static classattributes EPSILON and precision must be overwritten in child-classes and their default values reflect fp32 training
"""
EPSILON = 1e-6
precision = 32

Expand Down

0 comments on commit b202ddf

Please sign in to comment.