From 0118dee5b9087e5fa730191407f3ef2bc1222dd2 Mon Sep 17 00:00:00 2001 From: Kevin Oberlies Date: Wed, 13 Dec 2023 17:31:19 -0800 Subject: [PATCH] cargo fmt --- dfdx-core/src/tensor_ops/abs/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dfdx-core/src/tensor_ops/abs/mod.rs b/dfdx-core/src/tensor_ops/abs/mod.rs index 7f5dbe9c..e2ce6982 100644 --- a/dfdx-core/src/tensor_ops/abs/mod.rs +++ b/dfdx-core/src/tensor_ops/abs/mod.rs @@ -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