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