mirror of
https://github.com/huggingface/candle.git
synced 2025-06-19 11:56:45 +00:00
Cosmetic changes.
This commit is contained in:
@ -2,6 +2,7 @@ use crate::{DType, Device};
|
||||
|
||||
// TODO: Think about whether we would be better off with a dtype and
|
||||
// a buffer as an owned slice of bytes.
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum CpuStorage {
|
||||
F32(Vec<f32>),
|
||||
F64(Vec<f64>),
|
||||
@ -17,6 +18,7 @@ impl CpuStorage {
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum Storage {
|
||||
Cpu(CpuStorage),
|
||||
}
|
||||
|
Reference in New Issue
Block a user