diff options
author | Nicolas Patry <patry.nicolas@protonmail.com> | 2023-07-10 19:34:38 +0200 |
---|---|---|
committer | Nicolas Patry <patry.nicolas@protonmail.com> | 2023-07-10 19:34:38 +0200 |
commit | 1ad235953bd5bd30c1e080bcb01f0dec593c9731 (patch) | |
tree | 8ebe38e57dbe4e78948964c2afae770ea7075f74 /candle-core/src/indexer.rs | |
parent | c9d354f5ae1a7d3d24e01efe2486e2fa45986c32 (diff) | |
download | candle-1ad235953bd5bd30c1e080bcb01f0dec593c9731.tar.gz candle-1ad235953bd5bd30c1e080bcb01f0dec593c9731.tar.bz2 candle-1ad235953bd5bd30c1e080bcb01f0dec593c9731.zip |
Clippy ?
Diffstat (limited to 'candle-core/src/indexer.rs')
-rw-r--r-- | candle-core/src/indexer.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/candle-core/src/indexer.rs b/candle-core/src/indexer.rs index 59cefc19..22719527 100644 --- a/candle-core/src/indexer.rs +++ b/candle-core/src/indexer.rs @@ -42,7 +42,6 @@ impl Tensor { Bound::Excluded(n) => *n, Bound::Unbounded => dims[i], }; - let len = stop - start; let out = x.narrow(current_dim, start, stop - start)?; current_dim += 1; out |