pub struct NeuromorphicJitCompiler { /* private fields */ }Expand description
Neuromorphic computing patterns for JIT compilation
Implementations§
Source§impl NeuromorphicJitCompiler
impl NeuromorphicJitCompiler
Sourcepub fn new(config: NeuromorphicConfig) -> CoreResult<Self>
pub fn new(config: NeuromorphicConfig) -> CoreResult<Self>
Create a new neuromorphic JIT compiler
Sourcepub fn compile_snn(
&self,
_network: &NeuralNetwork,
_time_step: f64,
) -> CoreResult<CompiledSNN>
pub fn compile_snn( &self, _network: &NeuralNetwork, _time_step: f64, ) -> CoreResult<CompiledSNN>
Compile spiking neural network to optimized code
Sourcepub fn optimize_spike_patterns(
&mut self,
patterns: &[SpikePattern],
) -> CoreResult<SpikeOptimizationResult>
pub fn optimize_spike_patterns( &mut self, patterns: &[SpikePattern], ) -> CoreResult<SpikeOptimizationResult>
Optimize for spike-based computation patterns
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NeuromorphicJitCompiler
impl RefUnwindSafe for NeuromorphicJitCompiler
impl Send for NeuromorphicJitCompiler
impl Sync for NeuromorphicJitCompiler
impl Unpin for NeuromorphicJitCompiler
impl UnwindSafe for NeuromorphicJitCompiler
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> 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