diff options
Diffstat (limited to 'candle-core/benches/benchmarks/affine.rs')
-rw-r--r-- | candle-core/benches/benchmarks/affine.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-core/benches/benchmarks/affine.rs b/candle-core/benches/benchmarks/affine.rs index eded9f57..c1004c6c 100644 --- a/candle-core/benches/benchmarks/affine.rs +++ b/candle-core/benches/benchmarks/affine.rs @@ -12,7 +12,7 @@ fn run_affine_benchmark(c: &mut Criterion, device: &Device, dtype: DType, name: let m = 1024; let k = 1024; - let tensor = Tensor::zeros((b, m, k), dtype, &device).unwrap(); + let tensor = Tensor::zeros((b, m, k), dtype, device).unwrap(); let flops = b * m * k * dtype.size_in_bytes(); |