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 250b9c2 commit 5b2abe5Copy full SHA for 5b2abe5
src/StatisticalTraits.jl
@@ -42,6 +42,7 @@ const TRAITS = [
42
:supports_training_losses,
43
:deep_properties,
44
:reporting_operations,
45
+ :constructor,
46
]
47
48
@@ -184,6 +185,7 @@ iteration_parameter(::Type) = nothing
184
185
supports_training_losses(::Type) = false
186
deep_properties(::Type) = ()
187
reporting_operations(::Type) = ()
188
+constructor(::Type) = nothing
189
190
# Returns a tuple, with one entry per field of `T` (the type of some
191
# statistical model, for example). Each entry is `nothing` or defines
0 commit comments