We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ee8eae commit b5c2681Copy full SHA for b5c2681
1 file changed
tensorflow/python/framework/framework_lib.py
@@ -51,6 +51,7 @@
51
## Defining new operations
52
53
@@RegisterGradient
54
+@@NotDifferentiable
55
@@NoGradient
56
@@RegisterShape
57
@@TensorShape
@@ -97,6 +98,7 @@
97
98
99
# Needed when you defined a new Op in C++.
100
from tensorflow.python.framework.ops import RegisterGradient
101
+from tensorflow.python.framework.ops import NotDifferentiable
102
from tensorflow.python.framework.ops import NoGradient
103
from tensorflow.python.framework.ops import RegisterShape
104
from tensorflow.python.framework.tensor_shape import Dimension
0 commit comments