-
Notifications
You must be signed in to change notification settings - Fork 509
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
Add test coverage for futures in ShapleyValueSampling 4/n #1488
Conversation
This pull request was exported from Phabricator. Differential Revision: D68346494 |
9a98001
to
e49c9f5
Compare
Summary: This diffs adds more testing coverage for attribute_future to ShapleyValueSampling unit tests where forward function returns a scalar per batch, as either a float, integer, 0d tensor or 1d tensor for async methods. Differential Revision: D68346494
This pull request was exported from Phabricator. Differential Revision: D68346494 |
e49c9f5
to
505f389
Compare
Summary: This diffs adds more testing coverage for attribute_future to ShapleyValueSampling unit tests where forward function returns a scalar per batch, as either a float, integer, 0d tensor or 1d tensor for async methods. Differential Revision: D68346494
This pull request was exported from Phabricator. Differential Revision: D68346494 |
Summary: This diffs adds more testing coverage for attribute_future to ShapleyValueSampling unit tests where forward function returns a scalar per batch, as either a float, integer, 0d tensor or 1d tensor for async methods. Differential Revision: D68346494
505f389
to
5efc4c8
Compare
This pull request was exported from Phabricator. Differential Revision: D68346494 |
Summary: This diffs adds more testing coverage for attribute_future to ShapleyValueSampling unit tests where forward function returns a scalar per batch, as either a float, integer, 0d tensor or 1d tensor for async methods. Differential Revision: D68346494
5efc4c8
to
b3f95fb
Compare
This pull request was exported from Phabricator. Differential Revision: D68346494 |
Summary: This diffs adds more testing coverage for attribute_future to ShapleyValueSampling unit tests where forward function returns a scalar per batch, as either a float, integer, 0d tensor or 1d tensor for async methods. Reviewed By: styusuf Differential Revision: D68346494
b3f95fb
to
8ed298e
Compare
This pull request was exported from Phabricator. Differential Revision: D68346494 |
Summary: This diff implements the attribute_future method for the ShapleyValueSampling class. Reviewed By: cyrjano Differential Revision: D68158802
Summary: This diffs adds more testing coverage for attribute_future to ShapleyValueSampling unit tests that handle simple shapley sampling and multi shapley sampling using the BasicModel_MultiLayer model note: decided to parameterize the high-level unit tests since I did not want to clutter the unit test file with tests which were doing the same calculations but with the pytorch futures api. Separated the model and shapley assert methods between non-future vs future so that the differences between the two would be clear Reviewed By: cyrjano Differential Revision: D68229981
Summary: This diffs adds more testing coverage for attribute_future to ShapleyValueSampling unit tests that handle shapley sampling with boolean inputs Reviewed By: cyrjano Differential Revision: D68230069
Summary: This diffs adds more testing coverage for attribute_future to ShapleyValueSampling unit tests that use the BasicModel_MultiLayer_MultiInput model. Since these tests are larger, they will not be parameterized for readability Reviewed By: csauper Differential Revision: D68346488
Summary: This diffs adds more testing coverage for attribute_future to ShapleyValueSampling unit tests where forward function returns a scalar per batch, as either a float, integer, 0d tensor or 1d tensor for async methods. Reviewed By: styusuf Differential Revision: D68346494
8ed298e
to
162ec17
Compare
This pull request was exported from Phabricator. Differential Revision: D68346494 |
This pull request has been merged in fc9026a. |
Summary: This diffs adds more testing coverage for attribute_future to ShapleyValueSampling unit tests where forward function returns a scalar per batch, as either a float, integer, 0d tensor or 1d tensor for async methods.
Differential Revision: D68346494