pub struct NormalizingFlowTrained {
pub layers: Vec<AffineCouplingLayer>,
pub classifier_weights: Array2<f64>,
pub classifier_biases: Array1<f64>,
pub classes: Array1<i32>,
pub n_layers: usize,
pub n_classes: usize,
pub hidden_dims: Vec<usize>,
pub learning_rate: f64,
}Expand description
Trained state for Normalizing Flow
Fields§
§layers: Vec<AffineCouplingLayer>layers
classifier_weights: Array2<f64>classifier_weights
classifier_biases: Array1<f64>classifier_biases
classes: Array1<i32>classes
n_layers: usizen_layers
n_classes: usizen_classes
hidden_dims
learning_rate: f64learning_rate
Trait Implementations§
Source§impl Clone for NormalizingFlowTrained
impl Clone for NormalizingFlowTrained
Source§fn clone(&self) -> NormalizingFlowTrained
fn clone(&self) -> NormalizingFlowTrained
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NormalizingFlowTrained
impl RefUnwindSafe for NormalizingFlowTrained
impl Send for NormalizingFlowTrained
impl Sync for NormalizingFlowTrained
impl Unpin for NormalizingFlowTrained
impl UnwindSafe for NormalizingFlowTrained
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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