pub struct NeuromorphicProcessor {
pub num_neurons: usize,
pub num_synapses: usize,
}Expand description
Neuromorphic processor for brain-inspired (spiking neural network) computing.
Genuine neuromorphic computation is out of scope for this crate: there
is no neuromorphic hardware or spiking-network simulator anywhere in the
SciRS2 / COOLJAPAN dependency graph for this type to dispatch to. Rather
than silently running on CPU while claiming neuromorphic-specific
behavior occurred, Self::accelerate honestly reports
GraphError::Unsupported. This struct exists for forward API
compatibility only.
Fields§
§num_neurons: usizeNumber of neurons (configuration only – no simulator exists)
num_synapses: usizeNumber of synapses (configuration only – no simulator exists)
Implementations§
Source§impl NeuromorphicProcessor
impl NeuromorphicProcessor
Sourcepub fn accelerate<T>(&self, operation_name: &str) -> Result<T>
pub fn accelerate<T>(&self, operation_name: &str) -> Result<T>
Attempts neuromorphic (spiking-neural-network) acceleration of an
operation named operation_name.
Always returns GraphError::Unsupported: see the struct-level docs
for why this is a genuine, permanent architectural limit rather than
a placeholder awaiting implementation.
Trait Implementations§
Source§impl Clone for NeuromorphicProcessor
impl Clone for NeuromorphicProcessor
Source§fn clone(&self) -> NeuromorphicProcessor
fn clone(&self) -> NeuromorphicProcessor
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for NeuromorphicProcessor
Source§impl Debug for NeuromorphicProcessor
impl Debug for NeuromorphicProcessor
Source§impl Default for NeuromorphicProcessor
impl Default for NeuromorphicProcessor
Source§impl PartialEq for NeuromorphicProcessor
impl PartialEq for NeuromorphicProcessor
impl StructuralPartialEq for NeuromorphicProcessor
Auto Trait Implementations§
impl Freeze for NeuromorphicProcessor
impl RefUnwindSafe for NeuromorphicProcessor
impl Send for NeuromorphicProcessor
impl Sync for NeuromorphicProcessor
impl Unpin for NeuromorphicProcessor
impl UnsafeUnpin for NeuromorphicProcessor
impl UnwindSafe for NeuromorphicProcessor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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