1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! Model-specific parameter containers used to tweak calibrators without hard-coding
//! constants in the model implementation. Each model should provide its own struct
//! that implements the [`ModelParams`] trait so that the calibration pipeline can
//! pass arbitrary parameters down to the calibrator in a type-erased fashion.
use ;
use Any;
/// Marker trait for type-erased parameter structs.
///
/// The trait is deliberately minimal: it only provides a safe down-casting hook
/// via `as_any`. This keeps the object safe and avoids imposing additional
/// requirements on concrete parameter types.
/// Parameters that influence the SVI calibrator.