Skip to content

Commit a3fe3a2

Browse files
committed
remove obsolete
1 parent 5ec33b9 commit a3fe3a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tf2onnx/onnx_opset/tensor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,6 @@ def version_10(cls, ctx, node, **kwargs):
798798
ellipsis_gap = 0
799799
for idx in range(param_rank):
800800
if (ellipsis_mask >> idx) & 1:
801-
#input_shape = ctx.get_shape(node.input[0])
802801
input_shape = ctx.get_shape(input_x.output[0])
803802
utils.make_sure(
804803
input_shape is not None,
@@ -896,7 +895,7 @@ def version_10(cls, ctx, node, **kwargs):
896895
axes_output = axes_const.output[0]
897896

898897
inputs_map = {
899-
"data": input_x.output[0], #node.input[0],
898+
"data": input_x.output[0],
900899
"starts": begin.output[0],
901900
"ends": end_output,
902901
"steps": strides_output,

0 commit comments

Comments
 (0)