Skip to content

Commit 0122bce

Browse files
jjunchofacebook-github-bot
authored andcommitted
Add test coverage for futures in ShapleyValueSampling 1/n (#1491)
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
1 parent 0a23dde commit 0122bce

File tree

1 file changed

+251
-123
lines changed

1 file changed

+251
-123
lines changed

0 commit comments

Comments
 (0)