Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
favilo committed Dec 14, 2023
1 parent 0bd9929 commit 0118dee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dfdx-core/src/tensor_ops/abs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ mod tests {
#[test]
fn test_webgpu_abs() {
let dev: Webgpu = Default::default();
let x = dev
.tensor([-2.0, -1.0, 0.0, 1.0, 2.0]);
let x = dev.tensor([-2.0, -1.0, 0.0, 1.0, 2.0]);
let r = x.leaky_trace().abs();
assert_close_to_literal!(r, [2.0, 1.0, 0.0, 1.0, 2.0]);
// TODO: Add mean back in
Expand Down

0 comments on commit 0118dee

Please sign in to comment.