mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
fixed typo
This commit is contained in:
parent
e195481691
commit
a08fb546a9
@ -130,6 +130,6 @@ mod tests {
|
|||||||
fn test_dleaky_relu_edge_case() {
|
fn test_dleaky_relu_edge_case() {
|
||||||
let x = Matrix::from_vec(vec![-1e-10, 0.0, 1e10], 3, 1);
|
let x = Matrix::from_vec(vec![-1e-10, 0.0, 1e10], 3, 1);
|
||||||
let expected = Matrix::from_vec(vec![0.01, 0.01, 1.0], 3, 1);
|
let expected = Matrix::from_vec(vec![0.01, 0.01, 1.0], 3, 1);
|
||||||
assert_eq!(dleaky_relu(&x), expectewd);
|
assert_eq!(dleaky_relu(&x), expected);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user