pub struct ModelArtifacts {Show 16 fields
pub backend: &'static str,
pub expansion: &'static str,
pub model_path: &'static str,
pub compile_input_path: &'static str,
pub object_path: &'static str,
pub link_path: &'static str,
pub ir_path: &'static str,
pub flow_rs_path: &'static str,
pub metadata_json_path: &'static str,
pub input_size: usize,
pub output_size: usize,
pub params_size: usize,
pub code_size: usize,
pub rodata_size: usize,
pub total_flash_size: usize,
pub ram_size: usize,
}Fields§
§backend: &'static str§expansion: &'static str§model_path: &'static str§compile_input_path: &'static str§object_path: &'static str§link_path: &'static str§ir_path: &'static str§flow_rs_path: &'static str§metadata_json_path: &'static str§input_size: usizeSize in bytes of the model’s single input tensor.
output_size: usizeSize in bytes of the model’s single output tensor.
params_size: usizeModel parameter/weight bytes placed in flash (read-only model data).
code_size: usizeMachine code bytes of the compiled model placed in flash.
rodata_size: usizeRead-only data bytes embedded in the compiled model object (lookup tables, library metadata, unwind tables) placed in flash.
total_flash_size: usizeTotal model flash footprint: parameters plus compiled code and data.
ram_size: usizeTransient workspace bytes held in RAM during inference.
Trait Implementations§
Source§impl Clone for ModelArtifacts
impl Clone for ModelArtifacts
impl Copy for ModelArtifacts
Source§impl Debug for ModelArtifacts
impl Debug for ModelArtifacts
impl Eq for ModelArtifacts
Source§impl PartialEq for ModelArtifacts
impl PartialEq for ModelArtifacts
impl StructuralPartialEq for ModelArtifacts
Auto Trait Implementations§
impl Freeze for ModelArtifacts
impl RefUnwindSafe for ModelArtifacts
impl Send for ModelArtifacts
impl Sync for ModelArtifacts
impl Unpin for ModelArtifacts
impl UnsafeUnpin for ModelArtifacts
impl UnwindSafe for ModelArtifacts
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