Skip to content

Conversation

@bddppq
Copy link
Contributor

@bddppq bddppq commented Apr 17, 2018

Follow up to review comments in #6574

Copy link
Contributor

@apaszke apaszke left a comment

Choose a reason for hiding this comment

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

Need an underscore in front of the module name. Then LGTM

namespace torch { namespace onnx {
void initONNXBindings(PyObject* module) {
auto m = py::handle(module).cast<py::module>();
auto onnx = m.def_submodule("onnx");

This comment was marked as off-topic.

@bddppq bddppq merged commit c43c911 into pytorch:master Apr 17, 2018
@bddppq bddppq deleted the export-onnx-pb branch April 17, 2018 23:39
Jorghi12 pushed a commit to wsttiger/pytorch that referenced this pull request May 10, 2018
* Export onnx protobuf bindings to python

* rename native onnx module to _onnx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants