From 9b95a1d51caf4b1edf18e9392d5901e681d24d4e Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 26 Nov 2024 23:04:51 +0100 Subject: [PATCH] Apply rustfmt. --- candle-onnx/tests/ops.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/candle-onnx/tests/ops.rs b/candle-onnx/tests/ops.rs index 8d1a240356..3586bfbd68 100644 --- a/candle-onnx/tests/ops.rs +++ b/candle-onnx/tests/ops.rs @@ -5897,7 +5897,10 @@ fn test_sign_operation() -> Result<()> { })); let mut inputs: HashMap = HashMap::new(); - inputs.insert(INPUT_X.to_string(), Tensor::new(vec![-2f32, -1., 0., 1., 2.], &Device::Cpu)?); + inputs.insert( + INPUT_X.to_string(), + Tensor::new(vec![-2f32, -1., 0., 1., 2.], &Device::Cpu)?, + ); let eval = candle_onnx::simple_eval(&manual_graph, inputs)?; let z = eval.get(OUTPUT_Z).expect("Output 'z' not found"); @@ -5906,4 +5909,4 @@ fn test_sign_operation() -> Result<()> { vec![-1, -1, 0, 1, 1] ); Ok(()) -} \ No newline at end of file +}