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 a134ecc commit 0a12aafCopy full SHA for 0a12aaf
src/test_utils/ad.jl
@@ -26,6 +26,9 @@ const REFERENCE_ADTYPE = AutoForwardDiff()
26
Exception thrown when an AD backend returns an incorrect value or gradient.
27
28
The type parameter `T` is the numeric type of the value and gradient.
29
+
30
+# Fields
31
+$(TYPEDFIELDS)
32
"""
33
struct ADIncorrectException{T<:AbstractFloat} <: Exception
34
value_expected::T
@@ -41,6 +44,9 @@ Data structure to store the results of the AD correctness test.
41
44
42
45
The type parameter `Tparams` is the numeric type of the parameters passed in;
43
46
`Tresult` is the type of the value and the gradient.
47
48
49
50
51
struct ADResult{Tparams<:AbstractFloat,Tresult<:AbstractFloat}
52
"The DynamicPPL model that was tested"
0 commit comments