pub enum TensorBacking {
Opaque,
ExternalMmap(ExternalMmapRegion),
}Expand description
Provenance relevant to kernels that can consume lazy external weights.
Variants§
Trait Implementations§
Source§impl Clone for TensorBacking
impl Clone for TensorBacking
Source§fn clone(&self) -> TensorBacking
fn clone(&self) -> TensorBacking
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TensorBacking
Source§impl Debug for TensorBacking
impl Debug for TensorBacking
Source§impl Default for TensorBacking
impl Default for TensorBacking
Source§fn default() -> TensorBacking
fn default() -> TensorBacking
Returns the “default value” for a type. Read more
impl Eq for TensorBacking
Source§impl PartialEq for TensorBacking
impl PartialEq for TensorBacking
impl StructuralPartialEq for TensorBacking
Auto Trait Implementations§
impl Freeze for TensorBacking
impl RefUnwindSafe for TensorBacking
impl Send for TensorBacking
impl Sync for TensorBacking
impl Unpin for TensorBacking
impl UnsafeUnpin for TensorBacking
impl UnwindSafe for TensorBacking
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