diff options
author | laurent <laurent.mazare@gmail.com> | 2023-06-21 10:25:56 +0100 |
---|---|---|
committer | laurent <laurent.mazare@gmail.com> | 2023-06-21 10:25:56 +0100 |
commit | eb52b9b343819c547b8e4c47a8ff70cb7c632fbb (patch) | |
tree | 0eb1a76af828a00bfa59776e6c30f2f660c18197 /src/device.rs | |
parent | b3eb57cd0a696ec184e47c7316871b01e0a45aea (diff) | |
download | candle-eb52b9b343819c547b8e4c47a8ff70cb7c632fbb.tar.gz candle-eb52b9b343819c547b8e4c47a8ff70cb7c632fbb.tar.bz2 candle-eb52b9b343819c547b8e4c47a8ff70cb7c632fbb.zip |
Move the cpu backend specific bits apart.
Diffstat (limited to 'src/device.rs')
-rw-r--r-- | src/device.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/device.rs b/src/device.rs index c092a347..3677cfff 100644 --- a/src/device.rs +++ b/src/device.rs @@ -1,7 +1,4 @@ -use crate::{ - storage::{CpuStorage, Storage}, - DType, Result, Shape, -}; +use crate::{CpuStorage, DType, Result, Shape, Storage}; #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum Device { |