Struct candle_transformers::models::distilbert::DistilBertModel
source · pub struct DistilBertModel {
pub device: Device,
/* private fields */
}
Fields§
§device: Device
Implementations§
Auto Trait Implementations§
impl Freeze for DistilBertModel
impl !RefUnwindSafe for DistilBertModel
impl Send for DistilBertModel
impl Sync for DistilBertModel
impl Unpin for DistilBertModel
impl !UnwindSafe for DistilBertModel
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