lava.proc.receiver
lava.proc.receiver.models

- class lava.proc.receiver.models.ReceiverModel(proc_params=None)
Bases:
PyLoihiProcessModel
CPU model for the Receiver process.
The process saves any accumulated input messages as a payload variable.
- a_in: PyInPort = LavaPyType(cls=<class 'lava.magma.core.model.py.ports.PyInPortVectorDense'>, d_type=<class 'int'>, precision=None)
- implements_protocol
alias of
LoihiProtocol
- payload: ndarray = LavaPyType(cls=<class 'numpy.ndarray'>, d_type=<class 'int'>, precision=32)
- required_resources: ty.List[ty.Type[AbstractResource]] = [<class 'lava.magma.core.resources.CPU'>]
- run_spk()
Execute spiking phase, integrate incomming input and update payload.
lava.proc.receiver.process

- class lava.proc.receiver.process.Receiver(*, shape=(1,), name=None, log_config=None)
Bases:
AbstractProcess
Process saving input messages as a payload variable.
- Parameters
shape (tuple(int)) – Shape of the population of process units.
name (str) – Name of the Process. Default is ‘Process_ID’, where ID is an integer value that is determined automatically.
log_config (LogConfig) – Configuration options for logging.