Cosmetic changes.

This commit is contained in:
laurent
2023-06-19 21:30:03 +01:00
parent 26d6288eb6
commit bcae61b7f2
3 changed files with 33 additions and 4 deletions

View File

@ -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),
}