Kaspersky Neuromorphic Platform  1.0.0
API Reference
Loading...
Searching...
No Matches
convert_bitwise.h File Reference

Header for bitwise converter. More...

#include <knp/core/impexp.h>
#include <knp/core/messaging/spike_message.h>
#include <vector>
+ Include dependency graph for convert_bitwise.h:

Go to the source code of this file.

Namespaces

namespace  knp
 General framework namespace.
 
namespace  knp::framework
 Framework namespace.
 
namespace  knp::framework::io
 Input and output channel namespace.
 
namespace  knp::framework::io::output
 Output channel namespace.
 

Functions

std::vector< bool > KNP_DECLSPEC knp::framework::io::output::converter_bitwise (const std::vector< core::messaging::SpikeMessage > &message_list, size_t output_size)
 Convert a set of spike messages to a bool vector where an element value is true if a neuron with the corresponding index sent at least one spike.
 

Detailed Description

Header for bitwise converter.

Developers: Vartenkov Andrey
Date
01.06.2023
License: Apache 2.0

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 convert_bitwise.h.