pub struct AprInfo {
pub version: u32,
pub model_type: String,
pub quantization: Option<String>,
pub compressed: bool,
pub encrypted: bool,
pub signed: bool,
pub parameters: Option<u64>,
pub checksum: Option<u32>,
}Expand description
APR (Aprender) file information
Fields§
§version: u32APR version
model_type: StringModel type (e.g., “LogisticRegression”)
quantization: Option<String>Quantization type
compressed: boolCompressed
encrypted: boolEncrypted
signed: boolSigned
parameters: Option<u64>Parameter count
checksum: Option<u32>CRC32 checksum
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AprInfo
impl<'de> Deserialize<'de> for AprInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for AprInfo
Auto Trait Implementations§
impl Freeze for AprInfo
impl RefUnwindSafe for AprInfo
impl Send for AprInfo
impl Sync for AprInfo
impl Unpin for AprInfo
impl UnsafeUnpin for AprInfo
impl UnwindSafe for AprInfo
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