Realm

oa::ml::precision::EffectivePrecision

The planes a resolved precision selection actually runs at, as reported against one runtime’s device contract.

StRust public API

Declaration

pub struct EffectivePrecision { pub requested: PrecisionPolicy, pub activation_storage: StoragePrecision, pub accumulation: StoragePrecision, pub optimizer_state: StoragePrecision, pub scaler_required: bool, }
Public Rust declaration.

Public Methods

pub fn is_exact(&self) -> bool
fn clone(&self) -> EffectivePrecision
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &EffectivePrecision) -> bool

Public Data Members

requestedPrecisionPolicyfield
activation_storageStoragePrecisionfield
accumulationStoragePrecisionfield
optimizer_stateStoragePrecisionfield
scaler_requiredboolfield

Public Method Documentation

pub fn is_exact( &self ) -> bool
No public source comment is attached to this declaration.
fn clone( &self ) -> EffectivePrecision
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &EffectivePrecision ) -> bool
No public source comment is attached to this declaration.