pub struct AprModel {
pub metadata: AprMetadata,
pub data: ModelData,
}Expand description
A complete APR model with metadata and data
Fields§
§metadata: AprMetadataModel metadata
data: ModelDataModel data (weights, biases, architecture)
Implementations§
Source§impl AprModel
impl AprModel
Sourcepub fn new_test_model() -> Self
pub fn new_test_model() -> Self
Create a test model for unit tests
§Panics
Panics if test model metadata is invalid (should never happen)
Sourcepub fn assess_quality(&self) -> ModelQualityAssessment
pub fn assess_quality(&self) -> ModelQualityAssessment
Assess model quality per COSMIN standards
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AprModel
impl RefUnwindSafe for AprModel
impl Send for AprModel
impl Sync for AprModel
impl Unpin for AprModel
impl UnwindSafe for AprModel
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