mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 18:48:51 +00:00
Update candle-core/src/tensor.rs
This commit is contained in:
@ -444,7 +444,6 @@ impl Tensor {
|
|||||||
len,
|
len,
|
||||||
})?
|
})?
|
||||||
}
|
}
|
||||||
println!("Narrow {start:?} - {} - {len} - {dims:?}", dims[dim]);
|
|
||||||
if start == 0 && dims[dim] == len {
|
if start == 0 && dims[dim] == len {
|
||||||
Ok(self.clone())
|
Ok(self.clone())
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user