File tree Expand file tree Collapse file tree
DifferentiationInterface/test/Back/DifferentiateWith Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6262 @testset for scen in filter (differentiatewith_scenarios ()) do scen
6363 DIT. operator (scen) == :pullback
6464 end
65- Mooncake. TestUtils. test_rule (StableRNG (0 ), scen. f, scen. x; is_primitive= true )
65+ Mooncake. TestUtils. test_rule (
66+ StableRNG (0 ), scen. f, scen. x; is_primitive= true , mode= Mooncake. ReverseMode ()
67+ )
6668 end
6769end ;
6870
6971@testset " Mooncake errors" begin
7072 MooncakeDifferentiateWithError =
71- Base. get_extension (DifferentiationInterface, :DifferentiationInterfaceMooncakeExt ). MooncakeDifferentiateWithError
73+ Base. get_extension (
74+ DifferentiationInterface, :DifferentiationInterfaceMooncakeExt
75+ ). MooncakeDifferentiateWithError
7276
7377 e = MooncakeDifferentiateWithError (identity, 1.0 , 2.0 )
7478 @test sprint (showerror, e) ==
You can’t perform that action at this time.
0 commit comments