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
//! Auto-generated contract trait for `adamw-kernel-v1`.
//! Generated by: `pv scaffold --trait contracts/adamw-kernel-v1.yaml`
//! DO NOT EDIT — regenerate from YAML source.
/// Contract trait for `adamw-kernel-v1` v1.0.0.
///
/// AdamW kernel — Adam optimizer with decoupled weight decay
/// Reference: Loshchilov & Hutter (2017) Decoupled Weight Decay Regularization
/// Reference: Kingma & Ba (2014) Adam: A Method for Stochastic Optimization
///
/// Implementors must provide all 4 equation(s).
/// Missing method = compile error. Wrong signature = compile error.