Returns the number of layers.
(&self)
| 88 | |
| 89 | /// Returns the number of layers. |
| 90 | pub fn layers(&self) -> usize { |
| 91 | |
| 92 | self.layers.len() |
| 93 | } |
| 94 | |
| 95 | /// Computes the error of the net. |
| 96 | pub fn error(&self, examples: &Matrix<f64>, targets: &Matrix<f64>) -> f64 { |
no test coverage detected