input namespace

The input namespace implements interfaces for accessing the input channel and the converter for data coming from the external environment. Data can be passed to Kaspersky Neuromorphic Platform synchronously (upon the user request) and asynchronously (upon the call of the handler).

SequenceConverter class

The SequenceConverter class implements a data converter that takes the data from the istream data stream and divides the incoming data into chunks of a certain length. The data converter uses functions of the input namespace to convert the values in the input segments to the boolean type. If the input value contains a spike, the function returns true value. An object of the SequenceConverter class returns a list of indices of the input values that contain spikes as a message of the SpikeMessage type.

Each object of the SequenceConverter class has the following attributes:

IndexConverter class

The IndexConverter class implements a data converter that takes data from the istream data stream and converts a sequence of indexes of the incoming values containing spikes to a message of the SpikeMessage type.

Each object of the IndexConverter class has the following attributes:

InputChannel class

The InputChannel class implements an input channel that receives messages of the SpikeMessage type from the data converter. Using the functions of the InputChannel class, the converted data can be sent through the message endpoints to the subscribers having a subscription.

Each object of the InputChannel class has the following attributes:

Page top