mirror of
https://github.com/huggingface/candle.git
synced 2025-06-17 19:18:50 +00:00
Modular backends (#138)
* Add some trait to formalize backends. * Use the generic backend trait.
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
use crate::backend::BackendStorage;
|
||||
use crate::{op, CpuStorage, CudaStorage, DType, Device, Error, Layout, Result, Shape};
|
||||
|
||||
// We do not want to implement Clone on Storage as cloning may fail because of
|
||||
|
Reference in New Issue
Block a user