|
Kaspersky Neuromorphic Platform
1.0.0
API Reference
|
Namespace for CPU backends. More...
Namespace for CPU backends.
| std::optional< core::messaging::SpikeMessage > knp::backends::cpu::calculate_blifat_population | ( | knp::core::Population< BlifatLikeNeuron > & | population, |
| knp::core::MessageEndpoint & | endpoint, | ||
| size_t | step_n ) |
Make one execution step for a population of BLIFAT neurons.
| BlifatLikeNeuron | type of a neuron with BLIFAT-like parameters. |
| population | population to update. |
| endpoint | message endpoint used for message exchange. |
| step_n | execution step. |
Definition at line 39 of file blifat_population.h.
| std::optional< knp::core::messaging::SpikeMessage > knp::backends::cpu::calculate_blifat_population | ( | knp::core::Population< BlifatLikeNeuron > & | population, |
| knp::core::MessageEndpoint & | endpoint, | ||
| size_t | step_n, | ||
| std::mutex & | mutex ) |
Make one execution step for a population of BLIFAT neurons.
| BlifatLikeNeuron | type of a neuron with BLIFAT-like parameters. |
| population | population to update. |
| endpoint | message endpoint used for message exchange. |
| step_n | execution step. |
| mutex | mutex. |
Definition at line 81 of file blifat_population.h.
| void knp::backends::cpu::calculate_delta_synapse_projection | ( | knp::core::Projection< DeltaLikeSynapseType > & | projection, |
| knp::core::MessageEndpoint & | endpoint, | ||
| MessageQueue & | future_messages, | ||
| size_t | step_n ) |
Make one execution step for a projection of delta synapses.
| DeltaLikeSynapseType | type of a synapse that requires synapse weight and delay as parameters. |
| projection | projection to update. |
| endpoint | message endpoint used for message exchange. |
| future_messages | message queue to process via endpoint. |
| step_n | execution step. |
Definition at line 39 of file delta_synapse_projection.h.
| void knp::backends::cpu::calculate_projection_part | ( | knp::core::Projection< DeltaLikeSynapse > & | projection, |
| const std::unordered_map< size_t, size_t > & | message_in_data, | ||
| MessageQueue & | future_messages, | ||
| uint64_t | step_n, | ||
| size_t | part_start, | ||
| size_t | part_size, | ||
| std::mutex & | mutex ) |
Process a part of projection synapses.
| DeltaLikeSynapse | type of a synapse that requires synapse weight and delay as parameters. |
| projection | projection to receive the message. |
| message_in_data | processed spike data for the projection. |
| future_messages | queue of future messages. |
| step_n | current step. |
| part_start | index of the starting synapse. |
| part_size | number of synapses to process. |
| mutex | mutex. |
Definition at line 59 of file delta_synapse_projection.h.
| std::optional< core::messaging::SpikeMessage > knp::backends::cpu::calculate_resource_stdp_population | ( | knp::core::Population< neuron_traits::SynapticResourceSTDPNeuron< BlifatLikeNeuron > > & | population, |
| ProjectionContainer & | container, | ||
| knp::core::MessageEndpoint & | endpoint, | ||
| size_t | step_n ) |
Make one execution step for a population of SynapticResourceSTDPNeuron neurons.
| BlifatLikeNeuron | type of a neuron with BLIFAT-like parameters. |
| BaseSynapseType | base synapse type. |
| ProjectionContainer | type of a projection container. |
| population | population to update. |
| container | projection container from backend. |
| endpoint | message endpoint used for message exchange. |
| step_n | execution step. |
Definition at line 58 of file blifat_population.h.
| void knp::backends::cpu::init | ( | const ProjectionContainer & | projections, |
| knp::core::MessageEndpoint & | message_endpoint ) |