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

[frontend] Fix bugs in maxpool2d_simplify and rename MaxPool2dOp for clarity #335

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

wdjyd
Copy link

@wdjyd wdjyd commented Jun 19, 2024

  1. Fixed bugs in the maxpool2d_simplify function in useless_op_eliminate.py.
  2. Renamed max2dpoolOp to a more intuitive name for better clarity.

@@ -63,4 +74,4 @@ def maxpool2d_simplify(graph: Graph):
for j, op in enumerate(graph.body):
if op == getitem_node:
graph.body[j] = new_node
break
break
Copy link
Member

Choose a reason for hiding this comment

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

Please do not remove the empty line.

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.

None yet

2 participants