commit | a1ae21ad254d84a97bd528bd9d54f1f4103e6204 | [log] [tgz] |
---|---|---|
author | Hiran Sarkar <hiransarkar.cse2019@nsec.ac.in> | Tue Feb 02 06:07:52 2021 +0530 |
committer | GitHub <noreply@github.com> | Tue Feb 02 06:07:52 2021 +0530 |
tree | 52fe94a592b3a46334d777ae92aa36a3cdddfb67 | |
parent | 2ea2347dff126bff95ab51329e944e6fce9b28c5 [diff] |
Update nn_ops.py
diff --git a/tensorflow/python/ops/nn_ops.py b/tensorflow/python/ops/nn_ops.py index 6df6c74..bf28593 100644 --- a/tensorflow/python/ops/nn_ops.py +++ b/tensorflow/python/ops/nn_ops.py
@@ -72,7 +72,7 @@ if value is None: return [1] * (n + 2) - # `value` should not 0 + # `value` should not be 0 if value == 0: raise FloatingPointError("{} should not be 0".format(name))