pub struct ManifoldConfig {
pub dimension: usize,
pub max_descent_steps: usize,
pub learning_rate: f32,
pub convergence_threshold: f32,
pub hidden_layers: usize,
pub hidden_dim: usize,
pub omega_0: f32,
}Expand description
Configuration for manifold operations
Fields§
§dimension: usizeEmbedding dimension
max_descent_steps: usizeMaximum gradient descent steps
learning_rate: f32Learning rate for gradient descent
convergence_threshold: f32Convergence threshold for gradient norm
Number of hidden layers
Hidden dimension size
omega_0: f32Omega_0 for SIREN (frequency parameter)
Trait Implementations§
Source§impl Clone for ManifoldConfig
impl Clone for ManifoldConfig
Source§fn clone(&self) -> ManifoldConfig
fn clone(&self) -> ManifoldConfig
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 ManifoldConfig
impl Debug for ManifoldConfig
Source§impl Default for ManifoldConfig
impl Default for ManifoldConfig
Source§impl<'de> Deserialize<'de> for ManifoldConfig
impl<'de> Deserialize<'de> for ManifoldConfig
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 ManifoldConfig
impl RefUnwindSafe for ManifoldConfig
impl Send for ManifoldConfig
impl Sync for ManifoldConfig
impl Unpin for ManifoldConfig
impl UnwindSafe for ManifoldConfig
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