pub struct NeuralDiffusionSchemaConfig {
pub hidden_dims: Vec<usize>,
pub timestep_embed_dim: usize,
pub learning_rate: f64,
pub training_epochs: usize,
pub batch_size: usize,
pub hybrid_weight: f64,
pub hybrid_strategy: String,
pub neural_columns: Vec<String>,
}Expand description
Neural diffusion backend configuration.
Controls the candle-based neural score network that learns joint distributions
from training data for the neural and hybrid diffusion backends.
Fields§
Hidden layer dimensions for the score network MLP.
timestep_embed_dim: usizeDimensionality of the timestep embedding.
learning_rate: f64Learning rate for training.
training_epochs: usizeNumber of training epochs.
batch_size: usizeTraining batch size.
hybrid_weight: f64Blend weight for hybrid mode (0.0 = all statistical, 1.0 = all neural).
hybrid_strategy: StringHybrid blending strategy: “weighted_average”, “column_select”, “threshold”.
neural_columns: Vec<String>Columns to apply neural generation to (empty = all numeric columns).
Trait Implementations§
Source§impl Clone for NeuralDiffusionSchemaConfig
impl Clone for NeuralDiffusionSchemaConfig
Source§fn clone(&self) -> NeuralDiffusionSchemaConfig
fn clone(&self) -> NeuralDiffusionSchemaConfig
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 moreSource§impl Debug for NeuralDiffusionSchemaConfig
impl Debug for NeuralDiffusionSchemaConfig
Source§impl<'de> Deserialize<'de> for NeuralDiffusionSchemaConfig
impl<'de> Deserialize<'de> for NeuralDiffusionSchemaConfig
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 NeuralDiffusionSchemaConfig
impl RefUnwindSafe for NeuralDiffusionSchemaConfig
impl Send for NeuralDiffusionSchemaConfig
impl Sync for NeuralDiffusionSchemaConfig
impl Unpin for NeuralDiffusionSchemaConfig
impl UnsafeUnpin for NeuralDiffusionSchemaConfig
impl UnwindSafe for NeuralDiffusionSchemaConfig
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