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
49
50
51
52
53
54
55
56
57
58
59
60
//! User-facing LRP parameters.
//!
//! [`LrpParams`] is the inputs bundle for the per-kernel
//! `optimal_lrp_*` entry points in [`super`]. Mirrors the borrow-shape
//! of [`crate::EvaluateParams`]: the tau-grid slice lives on the caller
//! and is borrowed for the duration of the call so the same canonical
//! `0.01`-step grid can be reused across many invocations without
//! reallocating.
//!
//! Defaults are not provided through `Default::default()`: per
//! ADR-0044, `tp_threshold` and `tau_grid` are kernel-dependent and
//! resolved by `super::defaults::defaults_for` rather than by a
//! struct-level zero.
use crateAreaRange;
/// Configuration for one LRP error-decomposition call.
///
/// Per ADR-0044 the thresholds are per-kernel; the defaults the paper
/// picks are `tp_threshold = 0.5` for every kernel, and the tau grid
/// is `0.01` step over `[0.0, 1.0]` (101 points inclusive of both
/// endpoints).