Enum candle_core::cpu_backend::CpuStorageRef
source · pub enum CpuStorageRef<'a> {
U8(&'a [u8]),
U32(&'a [u32]),
I64(&'a [i64]),
BF16(&'a [bf16]),
F16(&'a [f16]),
F32(&'a [f32]),
F64(&'a [f64]),
}
Variants§
U8(&'a [u8])
U32(&'a [u32])
I64(&'a [i64])
BF16(&'a [bf16])
F16(&'a [f16])
F32(&'a [f32])
F64(&'a [f64])
Trait Implementations§
source§impl<'a> Clone for CpuStorageRef<'a>
impl<'a> Clone for CpuStorageRef<'a>
source§fn clone(&self) -> CpuStorageRef<'a>
fn clone(&self) -> CpuStorageRef<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for CpuStorageRef<'a>
impl<'a> RefUnwindSafe for CpuStorageRef<'a>
impl<'a> Send for CpuStorageRef<'a>
impl<'a> Sync for CpuStorageRef<'a>
impl<'a> Unpin for CpuStorageRef<'a>
impl<'a> UnwindSafe for CpuStorageRef<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more