pub struct QappPinnModelConfig {Show 15 fields
pub model_name: String,
pub model_path: String,
pub model_type: String,
pub quantization_bits: String,
pub compression_ratio: f32,
pub smx_version: String,
pub physics_domain: String,
pub input_dim: usize,
pub output_dim: usize,
pub uses_ternary_quantization: bool,
pub memory_requirement_mb: u32,
pub vram_requirement_mb: Option<u32>,
pub supported_operations: Vec<String>,
pub training_metadata: Option<QappPinnTrainingMetadata>,
pub performance_metrics: Option<QappPinnPerformanceMetrics>,
}Expand description
Configuration for 1.58-bit ternary quantized PINN models
Fields§
§model_name: String§model_path: String§model_type: String§quantization_bits: StringQuantization precision in bits (e.g., “1.58”)
compression_ratio: f32Compression ratio achieved through ternary quantization
smx_version: StringSMX format version for model serialization
physics_domain: StringPhysics domain for the PINN model
input_dim: usizeInput dimensions for the model
output_dim: usizeOutput dimensions for the model
uses_ternary_quantization: boolWhether the model uses ternary quantization
memory_requirement_mb: u32Memory requirements in MB
vram_requirement_mb: Option<u32>VRAM requirements in MB
supported_operations: Vec<String>Supported operations for this model
training_metadata: Option<QappPinnTrainingMetadata>Model metadata including training information
performance_metrics: Option<QappPinnPerformanceMetrics>Performance characteristics
Trait Implementations§
Source§impl Clone for QappPinnModelConfig
impl Clone for QappPinnModelConfig
Source§fn clone(&self) -> QappPinnModelConfig
fn clone(&self) -> QappPinnModelConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QappPinnModelConfig
impl Debug for QappPinnModelConfig
Source§impl Default for QappPinnModelConfig
impl Default for QappPinnModelConfig
Source§fn default() -> QappPinnModelConfig
fn default() -> QappPinnModelConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QappPinnModelConfig
impl<'de> Deserialize<'de> for QappPinnModelConfig
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
Auto Trait Implementations§
impl Freeze for QappPinnModelConfig
impl RefUnwindSafe for QappPinnModelConfig
impl Send for QappPinnModelConfig
impl Sync for QappPinnModelConfig
impl Unpin for QappPinnModelConfig
impl UnsafeUnpin for QappPinnModelConfig
impl UnwindSafe for QappPinnModelConfig
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.