Skip to content

Conversation

guschmue
Copy link
Contributor

Signed-off-by: guschmue [email protected]

fix for #1277

transpose optimizer wrongly removes a transpose when trying to push to none existing subgraph.

Signed-off-by: guschmue <[email protected]>
self._input_to_graph = {}
self.shapes = {}
self.graph_name = graph_name or "tf2onnx"
self.graph_name = graph_name or utils.make_name("tf2onnx")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Did you determine the cause of the identical names issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, its the main graph that is set to 'tf2onnx' when writing the onnx file, which is actually what we want.

Signed-off-by: guschmue <[email protected]>
@guschmue guschmue merged commit d8b0df3 into master Jan 22, 2021
@guschmue guschmue deleted the gs/fix_transp_opt branch February 23, 2021 23:52
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