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 33aae10 commit f467cf2Copy full SHA for f467cf2
2 files changed
src/machine_learning/optimization/mod.rs
@@ -4,4 +4,3 @@ mod momentum;
4
5
pub use self::adam::Adam;
6
pub use self::gradient_descent::gradient_descent;
7
-pub use self::momentum::momentum;
src/machine_learning/optimization/momentum.rs
@@ -25,6 +25,7 @@
25
/// # Returns
26
///
27
/// A reference to the optimized parameter vector `x`.
28
+#[allow(dead_code)]
29
pub fn momentum(
30
derivative: impl Fn(&[f64]) -> Vec<f64>,
31
x: &mut Vec<f64>,
0 commit comments