Skip to content

Commit 708d309

Browse files
authored
fixing on crop inputs. (#123)
1 parent f874395 commit 708d309

File tree

1 file changed

+1
-1
lines changed
  • onnxmltools/convert/coreml/operator_converters/neural_network

1 file changed

+1
-1
lines changed

onnxmltools/convert/coreml/operator_converters/neural_network/Crop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def convert_crop(scope, operator, container):
3131

3232
attrs['border'] = [left_border, top_border, right_border, bottom_border]
3333

34-
container.add_node(op_type, operator.input_full_names, operator.output_full_names, **attrs)
34+
container.add_node(op_type, operator.input_full_names[0:1], operator.output_full_names, **attrs)
3535

3636

3737
register_converter('crop', convert_crop)

0 commit comments

Comments
 (0)