Struct candle_transformers::models::stable_diffusion::clip::Config
source · pub struct Config {
pub max_position_embeddings: usize,
pub pad_with: Option<String>,
/* private fields */
}Fields§
§max_position_embeddings: usize§pad_with: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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