mirror of
https://github.com/huggingface/candle.git
synced 2025-06-17 11:08:52 +00:00
Add a specific example for cuda.
This commit is contained in:
@ -250,7 +250,7 @@ impl Tensor {
|
||||
let data = S::cpu_storage_as_slice(cpu_storage)?;
|
||||
Ok(self.strided_index().map(|i| data[i]).collect())
|
||||
}
|
||||
Storage::Cuda { .. } => todo!(),
|
||||
Storage::Cuda(_) => todo!(),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user