pub struct SafeTensorsSource { /* private fields */ }Expand description
Validated, host-owned SafeTensors source used by explicit model translators.
Implementations§
Auto Trait Implementations§
impl Forget for SafeTensorsSource
impl Freeze for SafeTensorsSourcewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(String, TensorInfo)>: Freeze,
PhantomData<(String, String)>: Freeze,
impl Move for SafeTensorsSource
impl RefUnwindSafe for SafeTensorsSource
impl Send for SafeTensorsSource
impl Sync for SafeTensorsSource
impl Unpin for SafeTensorsSource
impl UnsafeUnpin for SafeTensorsSourcewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, TensorInfo)>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
impl UnwindSafe for SafeTensorsSourcewhere
RawVecInner: UnwindSafe,
HashMap<String, TensorInfo>: UnwindSafe,
HashMap<String, String>: UnwindSafe,
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