Skip to content

Commit b3b585a

Browse files
authored
Merge pull request #1058 from xadupre/clip
Changes type instead of name in operator clip
2 parents 7a640ab + 43c76e1 commit b3b585a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tf2onnx/onnx_opset/math.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def version_8(cls, ctx, node, **kwargs):
183183

184184
@classmethod
185185
def version_12(cls, ctx, node, **kwargs):
186-
node.name = 'Clip' # clip supports all types now
186+
node.type = 'Clip' # clip supports all types now
187187

188188
@tf_op("Softmax")
189189
class Softmax:

0 commit comments

Comments
 (0)