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 copy and move constructors for AdaptiveMaxPooling #3173

Closed
wants to merge 6 commits into from
Closed

Added copy and move constructors for AdaptiveMaxPooling #3173

wants to merge 6 commits into from

Conversation

ahmedr2001
Copy link

No description provided.

Copy link

@dnabanita7 dnabanita7 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! You can take help from #3128. Also, adding a test example so that it will be easier to debug if there's an issue with the implementation. You can take help from https://github.com/mlpack/mlpack/pull/3136/files

AdaptiveMaxPooling(const AdaptiveMaxPooling& pooling);

//Move constructor
AdaptiveMaxPooling(AdaptiveMaxPooling&& pooling);

Choose a reason for hiding this comment

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

You can create an assignment operator for both copy and move constructors as you can see in other examples.

@eshaanagarwal
Copy link
Contributor

Hi ! Thanks for the PR.
But as per this comment, i am not sure whether we can move forward with this one.

@ahmedr2001
Copy link
Author

I will try another issue instead, thanks a lot for your replies.

@mlpack-bot
Copy link

mlpack-bot bot commented Apr 25, 2022

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! 👍

@mlpack-bot mlpack-bot bot added the s: stale label Apr 25, 2022
@rcurtin
Copy link
Member

rcurtin commented May 3, 2022

Since #2777 was merged, I think that this is not applicable anymore. Sorry that this did not end up getting merged. But thank you nonetheless for putting in the effort!

@rcurtin rcurtin closed this May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants