pub struct ModelComponents {
pub config_bytes: Vec<u8>,
pub tokenizer_bytes: Vec<u8>,
pub weight_bytes: Vec<u8>,
}Expand description
Resolved byte buffers for a model’s components.
Fields§
§config_bytes: Vec<u8>§tokenizer_bytes: Vec<u8>§weight_bytes: Vec<u8>Auto Trait Implementations§
impl Freeze for ModelComponents
impl RefUnwindSafe for ModelComponents
impl Send for ModelComponents
impl Sync for ModelComponents
impl Unpin for ModelComponents
impl UnsafeUnpin for ModelComponents
impl UnwindSafe for ModelComponents
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