File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 300300
301301mode (:: AutoMooncake ) = ReverseMode ()
302302
303+ function Base. show (io:: IO , backend:: AutoMooncake )
304+ print (io, AutoMooncake, " (" )
305+ backend. config != = nothing &&
306+ print (io, " config=" , repr (backend. config; context = io))
307+ print (io, " )" )
308+ end
309+
303310"""
304311 AutoMooncakeForward
305312
327334
328335mode (:: AutoMooncakeForward ) = ForwardMode ()
329336
337+ function Base. show (io:: IO , backend:: AutoMooncakeForward )
338+ print (io, AutoMooncakeForward, " (" )
339+ backend. config != = nothing &&
340+ print (io, " config=" , repr (backend. config; context = io))
341+ print (io, " )" )
342+ end
343+
330344"""
331345 AutoPolyesterForwardDiff{chunksize,T}
332346
Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ for backend in [
4242 ADTypes. AutoForwardDiff (chunksize = 3 , tag = :tag ),
4343 ADTypes. AutoGTPSA (),
4444 ADTypes. AutoGTPSA (; descriptor = Val (:descriptor )),
45+ ADTypes. AutoMooncake (),
46+ ADTypes. AutoMooncake (; config = :config ),
47+ ADTypes. AutoMooncakeForward (),
48+ ADTypes. AutoMooncakeForward (; config = :config ),
4549 ADTypes. AutoPolyesterForwardDiff (),
4650 ADTypes. AutoPolyesterForwardDiff (chunksize = 3 , tag = :tag ),
4751 ADTypes. AutoReverseDiff (),
You can’t perform that action at this time.
0 commit comments