pub struct NeuralAdaptiveConfig {Show 14 fields
pub hidden_layers: usize,
pub neurons_per_layer: usize,
pub learningrate: f64,
pub memory_capacity: usize,
pub reinforcement_learning: bool,
pub attention_heads: usize,
pub self_attention: bool,
pub rl_algorithm: RLAlgorithm,
pub exploration_rate: f64,
pub discountfactor: f64,
pub replay_buffer_size: usize,
pub modeldim: usize,
pub ff_dim: usize,
pub transformer_layers: usize,
}
Expand description
Neural-adaptive sparse matrix processor configuration
Fields§
Number of hidden layers in the neural network
neurons_per_layer: usize
Neurons per hidden layer
learningrate: f64
Learning rate for adaptive optimization
memory_capacity: usize
Memory capacity for pattern learning
reinforcement_learning: bool
Enable reinforcement learning
attention_heads: usize
Attention mechanism configuration
self_attention: bool
Enable transformer-style self-attention
rl_algorithm: RLAlgorithm
Reinforcement learning algorithm
exploration_rate: f64
Exploration rate for RL
discountfactor: f64
Discount factor for future rewards
replay_buffer_size: usize
Experience replay buffer size
modeldim: usize
Transformer model dimension
ff_dim: usize
Feed-forward network dimension in transformer
transformer_layers: usize
Number of transformer layers
Trait Implementations§
Source§impl Clone for NeuralAdaptiveConfig
impl Clone for NeuralAdaptiveConfig
Source§fn clone(&self) -> NeuralAdaptiveConfig
fn clone(&self) -> NeuralAdaptiveConfig
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 NeuralAdaptiveConfig
impl Debug for NeuralAdaptiveConfig
Auto Trait Implementations§
impl Freeze for NeuralAdaptiveConfig
impl RefUnwindSafe for NeuralAdaptiveConfig
impl Send for NeuralAdaptiveConfig
impl Sync for NeuralAdaptiveConfig
impl Unpin for NeuralAdaptiveConfig
impl UnwindSafe for NeuralAdaptiveConfig
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