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

Header for input interpreter. More...

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::input
 Input channel namespace.
 

Functions

template<class ValueType >
bool knp::framework::io::input::interpret_as_bool (ValueType val)
 Determine if an input value is a spike and convert an input value to boolean.
 
template<class ValueType >
auto knp::framework::io::input::interpret_with_threshold (ValueType threshold)
 Interpret an input value as a spike if an input value is equal or greater than a threshold value.
 

Detailed Description

Header for input interpreter.

Developers: Vartenkov Andrey
Date
31.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 input_interpreters.h.