-
Notifications
You must be signed in to change notification settings - Fork 939
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
[feature] Add __eq__ method to SampleList #454
Comments
Can I work on this? |
@steph-en-m Yes, go ahead. |
@apsdehal I would like to work on this issue. I'm not clear of what to compare inside the SampleList |
@Shubham-Sahoo Hi, thanks for your interest. In general, iterate over the keys, check if the type is tensor and compare them using |
@apsdehal So it is like comparing all the samples in the sampleList with a given tensor. So the |
@Shubham-Sahoo To understand the purpose of |
Added __eq__ method as requested facebookresearch#454
Hello @apsdehal |
@apsdehal Can you review my PR and suggest if any changes are required. |
@AditiThirdEye @Shubham-Sahoo is working on this. @Shubham-Sahoo I reviewed your PR, take a look at my comments. |
@apsdehal yeah I'm working on the comments. |
@apsdehal I have pushed the changes. |
Hi @apsdehal is the issue still open? can I take it up? |
🚀 Feature
SampleList frequently require comparisons in tests. It would good to add
__eq__
method to SampleListPitch
Note: If you are a bootcamper working on this task, assign the internal task to yourself: T71222206
The text was updated successfully, but these errors were encountered: