diff options
author | Laurent Mazare <laurent.mazare@gmail.com> | 2024-09-05 22:46:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 23:46:55 +0200 |
commit | e3261216b157a7305c18ccdd766b6e2a41afe483 (patch) | |
tree | edec85bf6faae0c6662e833f74d79ccc2579ef05 /candle-wasm-examples/yolo | |
parent | c02b7c327297f25fc9cc60b8f39c9aa32e40ff21 (diff) | |
download | candle-e3261216b157a7305c18ccdd766b6e2a41afe483.tar.gz candle-e3261216b157a7305c18ccdd766b6e2a41afe483.tar.bz2 candle-e3261216b157a7305c18ccdd766b6e2a41afe483.zip |
Clippy fixes for 1.81.0. (#2461)
* Clippy fixes for 1.81.0.
* Another fix.
Diffstat (limited to 'candle-wasm-examples/yolo')
-rw-r--r-- | candle-wasm-examples/yolo/src/model.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-wasm-examples/yolo/src/model.rs b/candle-wasm-examples/yolo/src/model.rs index f1d7ea20..ee98c125 100644 --- a/candle-wasm-examples/yolo/src/model.rs +++ b/candle-wasm-examples/yolo/src/model.rs @@ -155,7 +155,7 @@ impl C2f { let cv2 = ConvBlock::load(vb.pp("cv2"), (2 + n) * c, c2, 1, 1, None)?; let mut bottleneck = Vec::with_capacity(n); for idx in 0..n { - let b = Bottleneck::load(vb.pp(&format!("bottleneck.{idx}")), c, c, shortcut)?; + let b = Bottleneck::load(vb.pp(format!("bottleneck.{idx}")), c, c, shortcut)?; bottleneck.push(b) } Ok(Self { |