Kaspersky Neuromorphic Platform
1.0.0
API Reference
|
Population creators. More...
#include <knp/core/population.h>
#include <cinttypes>
#include <optional>
#include <random>
#include "neuron_parameters_generators.h"
Go to the source code of this file.
Namespaces | |
namespace | knp |
General framework namespace. | |
namespace | knp::framework |
Framework namespace. | |
namespace | knp::framework::population |
Namespace for framework population routines. | |
namespace | knp::framework::population::creators |
Namespace for population creators. | |
Functions | |
template<typename NeuronType , template< typename... > class Container> | |
core::Population< NeuronType > | knp::framework::population::creators::from_container (const Container< typename core::Population< NeuronType >::NeuronParameters > &container) |
Generate a population that gets parameter values from a container. | |
template<typename NeuronType > | |
core::Population< NeuronType > | knp::framework::population::creators::make_random (size_t neuron_count) |
Generate a population with random neuron parameter values. | |
template<typename NeuronType > | |
core::Population< NeuronType > | knp::framework::population::creators::make_default (size_t neuron_count) |
Generate a population with default neuron parameter values. | |
template<typename NeuronType > | |
core::Population< NeuronType > | knp::framework::population::creators::make_clone (size_t neuron_count, const typename core::Population< NeuronType >::NeuronParameters &source_neuron) |
Generate a population that clones neuron parameter values from the specified neuron. | |
Population creators.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file creators.h.