pub struct NormalizingFlowConfig {
pub input_dim: usize,
pub n_flows: usize,
pub hidden_dims: Vec<usize>,
pub coupling_type: CouplingType,
pub base_mean: f64,
pub base_std: f64,
pub learning_rate: f64,
pub n_iterations: usize,
pub batch_size: usize,
}Expand description
Configuration for normalizing flow model
Fields§
§input_dim: usizeInput dimension
n_flows: usizeNumber of coupling layers
Hidden dimensions for coupling networks
coupling_type: CouplingTypeType of coupling
base_mean: f64Base distribution mean
base_std: f64Base distribution standard deviation
learning_rate: f64Learning rate
n_iterations: usizeNumber of training iterations
batch_size: usizeBatch size
Trait Implementations§
Source§impl Clone for NormalizingFlowConfig
impl Clone for NormalizingFlowConfig
Source§fn clone(&self) -> NormalizingFlowConfig
fn clone(&self) -> NormalizingFlowConfig
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 NormalizingFlowConfig
impl Debug for NormalizingFlowConfig
Auto Trait Implementations§
impl Freeze for NormalizingFlowConfig
impl RefUnwindSafe for NormalizingFlowConfig
impl Send for NormalizingFlowConfig
impl Sync for NormalizingFlowConfig
impl Unpin for NormalizingFlowConfig
impl UnsafeUnpin for NormalizingFlowConfig
impl UnwindSafe for NormalizingFlowConfig
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,
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