-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up tests for dtmap and dtforeach, reorganize test folder a bit
- Loading branch information
Showing
6 changed files
with
46 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using ChainRulesTestUtils | ||
using PEPSKit: dtmap, dtforeach | ||
|
||
# Can the rrule of dtmap be made inferable? (if check_inferred=true, tests error at the moment) | ||
@testset "Differentiable tmap" begin | ||
test_rrule(dtmap, x -> x^3, randn(5, 5); check_inferred=false) | ||
end | ||
|
||
@testset "Differentiable tforeach" begin end |
File renamed without changes.
File renamed without changes.