Skip to content

Commit 69046bf

Browse files
committed
remove excessive type
1 parent f53ec85 commit 69046bf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tf2onnx/onnx_opset/tensor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,6 @@ class ScatterND:
517517
@classmethod
518518
def version_11(cls, ctx, node, **kwargs):
519519
onnxdtype = ctx.get_dtype(node.input[1])
520-
dtype = utils.map_onnx_to_numpy_type(onnxdtype)
521520
const_of_shape = ctx.insert_new_node_on_input(node, "ConstantOfShape", node.input[2])
522521
ctx.insert_new_node_on_input(const_of_shape, "Cast", const_of_shape.input[0], to=TensorProto.INT64)
523522
ctx.insert_new_node_on_input(node, "Cast", node.input[0], to=TensorProto.INT64)

0 commit comments

Comments
 (0)