onnx.compose.add_prefix_graph
ignores rename_input=False/rename_output=False
#6754
Labels
8000
onnx.compose.add_prefix_graph
ignores rename_input=False/rename_output=False
#6754
Bug Report
Is the issue related to model conversion?
No.
Describe the bug
onnx.compose.add_prefix_graph(..., prefix="...", rename_inputs=False, rename_outputs=False)
renames inputs/outputs even if renaming is set to False.System information
Reproduction instructions
output:
Expected behavior
According to https://github.com/onnx/onnx/blob/main/onnx/compose.py#L429, inputs and outputs should not be renamed.
add_prefix
forModelProto
is equally affected (https://onnx.ai/onnx/_modules/onnx/compose.html#add_prefix)Notes
I'd be happy to contribute a pr 👍
The text was updated successfully, but these errors were encountered: