Skip to content

Added operations#7

Open
Felipetoledo4815 wants to merge 4 commits into
dlshriver:developfrom
Felipetoledo4815:develop
Open

Added operations#7
Felipetoledo4815 wants to merge 4 commits into
dlshriver:developfrom
Felipetoledo4815:develop

Conversation

@Felipetoledo4815

Copy link
Copy Markdown

No description provided.

@dlshriver dlshriver changed the base branch from main to develop July 6, 2022 14:39

@dlshriver dlshriver left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Looks pretty good, only a couple small changes. I am going to wait to merge this until the new operators have been added to DNNV though.

Comment thread dnnf/pytorch.py

return unsqueeze

def visit_Upsample(self, operation: operations.Upsample):

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Could you put these in alphabetical order?

Comment thread dnnf/reduction.py
import dnnv.nn.operations as operations

output_shape = self.op_graph.output_shape[0]
# axis = 0

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

please remove commented code

Suggested change
# axis = 0

Comment thread dnnf/pytorch.py

return div

def visit_Squeeze(self, operation: operations.Squeeze):

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Could you type all of the new operators using strings, e.g., def visit_Squeeze(self, operation: "operations.Squeeze"):. Otherwise, there will be errors for anyone not on the latest DNNV changes.

@dlshriver

Copy link
Copy Markdown
Owner

Please add a description when you get a chance.

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