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 +}