We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd87ccf commit ba9a476Copy full SHA for ba9a476
src/ADTypes.jl
@@ -249,6 +249,8 @@ Chooses [FastDifferentiation.jl](https://github.com/brianguenter/FastDifferentia
249
"""
250
struct AutoSparseFastDifferentiation <: AbstractSparseSymbolicDifferentiationMode end
251
252
+Base.broadcastable(ad::AbstractADType) = Ref(ad)
253
+
254
export AutoChainRules,
255
AutoDiffractor,
256
AutoFiniteDiff,
test/runtests.jl
@@ -106,4 +106,6 @@ struct CustomTag end
106
adtype = AutoSparseFastDifferentiation()
107
@test adtype isa ADTypes.AbstractADType
108
@test adtype isa AutoSparseFastDifferentiation
109
110
+ @test identity.(adtype) == adtype
111
end
0 commit comments