Skip to content

Conversation

@spandantiwari
Copy link

Input argument f in _model_to_graph() method in torch/onnx/utils.py is unused. This PR removes it. If there's a reason to keep it around, please let me know.

@pytorchbot pytorchbot added the module: onnx Related to torch.onnx label Apr 24, 2019
@spandantiwari spandantiwari changed the title Removing unused arg f from _model_to_graph(). [ONNX] Removing unused arg f from _model_to_graph(). Apr 24, 2019
@spandantiwari
Copy link
Author

cc: @houseroad @zrphercule

@spandantiwari
Copy link
Author

Not sure if the test failure is related to this change.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@houseroad has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Member

@houseroad houseroad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks.

@facebook-github-bot
Copy link
Contributor

@houseroad merged this pull request in dafee11.

@spandantiwari
Copy link
Author

Thanks @houseroad

zhangguanheng66 pushed a commit to zhangguanheng66/pytorch that referenced this pull request May 6, 2019
Summary:
Input argument `f` in `_model_to_graph()` method in `torch/onnx/utils.py` is unused. This PR removes it. If there's a reason to keep it around, please let me know.
Pull Request resolved: pytorch#19647

Reviewed By: dzhulgakov

Differential Revision: D15071720

Pulled By: houseroad

fbshipit-source-id: 59e0dd7a4d5ebd64d0e30f274b3892a4d218c496
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: onnx Related to torch.onnx open source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants