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