mirror of
https://github.com/huggingface/candle.git
synced 2025-06-17 19:18:50 +00:00
Clippy ?
This commit is contained in:
@ -42,7 +42,6 @@ impl Tensor {
|
|||||||
Bound::Excluded(n) => *n,
|
Bound::Excluded(n) => *n,
|
||||||
Bound::Unbounded => dims[i],
|
Bound::Unbounded => dims[i],
|
||||||
};
|
};
|
||||||
let len = stop - start;
|
|
||||||
let out = x.narrow(current_dim, start, stop - start)?;
|
let out = x.narrow(current_dim, start, stop - start)?;
|
||||||
current_dim += 1;
|
current_dim += 1;
|
||||||
out
|
out
|
||||||
|
Reference in New Issue
Block a user