Update candle-core/src/indexer.rs

This commit is contained in:
Nicolas Patry
2023-07-10 19:02:35 +02:00
committed by GitHub
parent ef0375d8bc
commit 5ea747c047

View File

@ -43,7 +43,6 @@ impl Tensor {
Bound::Unbounded => dims[i],
};
let len = stop - start;
println!(" indexer {indexer:?} Start {start} stop{stop} - {len:?}");
let out = x.narrow(current_dim, start, stop - start)?;
current_dim += 1;
out