pub struct Li {
pub tau: Tensor,
pub r: Tensor,
pub v_leak: Tensor,
pub metadata: MetadataMap,
}Expand description
Leaky integrator (LI).
Fields§
§tau: TensorMembrane time constant.
r: TensorResistance.
v_leak: TensorLeak voltage.
metadata: MetadataMapFree-form node metadata (Python metadata dict).
Trait Implementations§
impl StructuralPartialEq for Li
Auto Trait Implementations§
impl Freeze for Li
impl RefUnwindSafe for Li
impl Send for Li
impl Sync for Li
impl Unpin for Li
impl UnsafeUnpin for Li
impl UnwindSafe for Li
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