Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added header to output and fixed empty docstrings #166

Merged
merged 1 commit into from
Jan 8, 2021

Conversation

TomWildenhain-Microsoft
Copy link
Contributor

No description provided.

@@ -65,12 +65,20 @@ def make_node(op_type, inputs, outputs, name=None, doc_string=None, domain=None,
order_repeated_field(node.attribute, 'name', kwargs.keys())
return node


def make_graph(*args, doc_string=None, **kwargs):
graph = helper.make_graph(*args, doc_string=doc_string, **kwargs)
Copy link
Member

Choose a reason for hiding this comment

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

it looks a bug that should be fixed in ONNX repo.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Arguably empty doc strings don't need to be included, but I'm trying to make the results byte-for-byte identical. I would appreciate it if the onnx helpers let me do this.

@TomWildenhain-Microsoft TomWildenhain-Microsoft merged commit 3f7ce9d into master Jan 8, 2021
@TomWildenhain-Microsoft TomWildenhain-Microsoft deleted the tom/onnx2pyEmptyDocstring branch January 8, 2021 19:21
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.

2 participants