pub struct CPUStorage(/* private fields */);
Implementations§
Source§impl CPUStorage
impl CPUStorage
Trait Implementations§
Source§impl Clone for CPUStorage
impl Clone for CPUStorage
Source§fn clone(&self) -> CPUStorage
fn clone(&self) -> CPUStorage
Returns a duplicate 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 moreSource§impl<B: ExecutableBindings<CPUStorage>, Fn: CPUFunction<B>, Bu: Buildable<CPUProcessor>> Executable<CPUStorage, B> for CPUExecutable<B, Fn, Bu>
impl<B: ExecutableBindings<CPUStorage>, Fn: CPUFunction<B>, Bu: Buildable<CPUProcessor>> Executable<CPUStorage, B> for CPUExecutable<B, Fn, Bu>
fn get_bindings(&mut self) -> &mut B
fn get_bindings_ref(&self) -> &B
Source§impl<C: Computable + 'static> MemoryMapable<CPUStorage> for Tensor<C>
impl<C: Computable + 'static> MemoryMapable<CPUStorage> for Tensor<C>
type Mapped<'a> = MyCPUTensor<'a, C>
fn get_struct_map(&self) -> HashMap<String, String>
fn to_memory_bytes(&self) -> Vec<u8> ⓘ
fn from_memory_bytes(_bytes: Vec<u8>) -> Self
fn into_processor_mapped(self) -> <CPUStorage as Storage>::MappedType<Self>
Auto Trait Implementations§
impl Freeze for CPUStorage
impl !RefUnwindSafe for CPUStorage
impl !Send for CPUStorage
impl !Sync for CPUStorage
impl Unpin for CPUStorage
impl !UnwindSafe for CPUStorage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more