-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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 AvgPool1D
+ stateful test
#15350
Conversation
Closes #15348 |
@zaeemansari70 do you mind reviewing this PR ? The tests are passing on my end |
ivy/stateful/layers.py
Outdated
device=None, | ||
v=None, | ||
dtype=None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are these arguments needed? the layer has no variables to initialize to to place on devices
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are needed in the __init__
method of the Module
class. I followed the convention used in the rest of the layers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please review your implementation and remove unnecessary arguments, you can check ivy.ReLU
class for example
The implementation is consistent with the rest of the layers in the module, even |
No description provided.