pub struct NeuralConfig {
pub hidden_size: usize,
pub check_interval_secs: u64,
pub compromised_threshold: f32,
pub warning_threshold: f32,
pub enable_anomaly_detection: bool,
}Expand description
Neural Resonance Module configuration
Fields§
Hidden layer size for baked MLP
check_interval_secs: u64Resonance check interval (seconds)
compromised_threshold: f32MSE threshold for compromised mask
warning_threshold: f32MSE threshold for warning
enable_anomaly_detection: boolEnable anomaly detection
Trait Implementations§
Source§impl Clone for NeuralConfig
impl Clone for NeuralConfig
Source§fn clone(&self) -> NeuralConfig
fn clone(&self) -> NeuralConfig
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 NeuralConfig
impl Debug for NeuralConfig
Source§impl Default for NeuralConfig
impl Default for NeuralConfig
Source§impl<'de> Deserialize<'de> for NeuralConfig
impl<'de> Deserialize<'de> for NeuralConfig
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 NeuralConfig
impl RefUnwindSafe for NeuralConfig
impl Send for NeuralConfig
impl Sync for NeuralConfig
impl Unpin for NeuralConfig
impl UnsafeUnpin for NeuralConfig
impl UnwindSafe for NeuralConfig
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