Struct rust_bert::models::mbart::MBartModelResources
source · pub struct MBartModelResources;
Expand description
Implementations§
source§impl MBartModelResources
impl MBartModelResources
sourcepub const MBART50_MANY_TO_MANY: (&'static str, &'static str) = _
pub const MBART50_MANY_TO_MANY: (&'static str, &'static str) = _
Shared under MIT license by the Facebook AI Research Fairseq team at https://github.com/pytorch/fairseq. Modified with conversion to C-array format.
Auto Trait Implementations§
impl RefUnwindSafe for MBartModelResources
impl Send for MBartModelResources
impl Sync for MBartModelResources
impl Unpin for MBartModelResources
impl UnwindSafe for MBartModelResources
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