Browse Source

changed divnonan back to PrimitiveWithInfer

tags/v1.1.0
Peilin Wang 5 years ago
parent
commit
7bbfe2aaf8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ops/operations/math_ops.py

+ 1
- 1
mindspore/ops/operations/math_ops.py View File

@@ -1829,7 +1829,7 @@ class Div(_MathBinaryOp):
return None


class DivNoNan(PrimitiveWithCheck):
class DivNoNan(_MathBinaryOp):
"""
Computes a safe divide which returns 0 if the y is zero.



Loading…
Cancel
Save