pub struct ModuleArtifactMetadata {
pub architecture: String,
pub config_version: u32,
pub d_model: u32,
pub n_layers: u32,
pub d_vocab: u32,
pub arch_config: Vec<u8>,
}Expand description
Private architecture metadata carried by an optimizer-free module artifact.
Fields§
§architecture: String§config_version: u32§d_model: u32§n_layers: u32§d_vocab: u32§arch_config: Vec<u8>Auto Trait Implementations§
impl Forget for ModuleArtifactMetadata
impl Freeze for ModuleArtifactMetadata
impl Move for ModuleArtifactMetadata
impl RefUnwindSafe for ModuleArtifactMetadata
impl Send for ModuleArtifactMetadatawhere
RawVecInner: Send,
impl Sync for ModuleArtifactMetadatawhere
RawVecInner: Sync,
impl Unpin for ModuleArtifactMetadata
impl UnsafeUnpin for ModuleArtifactMetadata
impl UnwindSafe for ModuleArtifactMetadatawhere
RawVecInner: UnwindSafe,
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