pub struct QuantizeResultDetails {
pub input_model_path: String,
pub output_model_path: String,
pub bundle_dir: String,
pub original_size_bytes: u64,
pub quantized_size_bytes: u64,
pub compression_ratio: f64,
pub parity_passed: bool,
pub top1_agreement_rate: f64,
pub max_abs_error: f64,
pub mean_abs_error: f64,
}Expand description
量子化結果の詳細サマリー。
Fields§
§input_model_path: String入力モデルパス。
output_model_path: String出力モデルパス。
bundle_dir: Stringバンドル出力先ディレクトリ。
original_size_bytes: u64元のファイルサイズ (バイト)。
quantized_size_bytes: u64量子化後のファイルサイズ (バイト)。
compression_ratio: f64圧縮率。
parity_passed: boolパリティ検証合否。
top1_agreement_rate: f64Top-1 決定一致率。
max_abs_error: f64最大絶対誤差。
mean_abs_error: f64平均絶対誤差。
Trait Implementations§
Source§impl Clone for QuantizeResultDetails
impl Clone for QuantizeResultDetails
Source§fn clone(&self) -> QuantizeResultDetails
fn clone(&self) -> QuantizeResultDetails
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 QuantizeResultDetails
impl Debug for QuantizeResultDetails
Source§impl<'de> Deserialize<'de> for QuantizeResultDetails
impl<'de> Deserialize<'de> for QuantizeResultDetails
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 QuantizeResultDetails
impl RefUnwindSafe for QuantizeResultDetails
impl Send for QuantizeResultDetails
impl Sync for QuantizeResultDetails
impl Unpin for QuantizeResultDetails
impl UnsafeUnpin for QuantizeResultDetails
impl UnwindSafe for QuantizeResultDetails
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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