pub struct LiquidStateMachine {
pub reservoir_size: usize,
pub connection_prob: f32,
pub spectral_radius: f32,
pub input_scaling: f32,
pub leak_rate: f32,
pub state: Tensor,
pub input_weights: Tensor,
pub reservoir_weights: Tensor,
pub memory_capacity: usize,
pub state_history: VecDeque<Tensor>,
}Expand description
Liquid State Machine for temporal graph processing
Fields§
§reservoir_size: usizeReservoir nodes
connection_prob: f32Connection probability
spectral_radius: f32Spectral radius
input_scaling: f32Input scaling
leak_rate: f32Leak rate
state: TensorInternal state
input_weights: TensorInput weights
reservoir_weights: TensorReservoir weights
memory_capacity: usizeMemory capacity
state_history: VecDeque<Tensor>State history
Implementations§
Trait Implementations§
Source§impl Clone for LiquidStateMachine
impl Clone for LiquidStateMachine
Source§fn clone(&self) -> LiquidStateMachine
fn clone(&self) -> LiquidStateMachine
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 moreAuto Trait Implementations§
impl !Freeze for LiquidStateMachine
impl RefUnwindSafe for LiquidStateMachine
impl Send for LiquidStateMachine
impl Sync for LiquidStateMachine
impl Unpin for LiquidStateMachine
impl UnsafeUnpin for LiquidStateMachine
impl UnwindSafe for LiquidStateMachine
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