Struct candle_transformers::models::moondream::VisionEncoder
source · pub struct VisionEncoder { /* private fields */ }
Implementations§
source§impl VisionEncoder
impl VisionEncoder
pub fn new(cfg: &VisionConfig, vb: VarBuilder<'_>) -> Result<Self>
Trait Implementations§
source§impl Clone for VisionEncoder
impl Clone for VisionEncoder
source§fn clone(&self) -> VisionEncoder
fn clone(&self) -> VisionEncoder
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 moresource§impl Debug for VisionEncoder
impl Debug for VisionEncoder
Auto Trait Implementations§
impl Freeze for VisionEncoder
impl !RefUnwindSafe for VisionEncoder
impl Send for VisionEncoder
impl Sync for VisionEncoder
impl Unpin for VisionEncoder
impl !UnwindSafe for VisionEncoder
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