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