hxtorch.spiking.observables.SpikeHandle

class hxtorch.spiking.observables.SpikeHandle

Bases: pybind11_builtins.pybind11_object

__init__(self: _hxtorch_spiking.SpikeHandle, data: List[Tuple[int, int, int]], batch_size: int, population_size: int)None

Methods

__init__(self, data, int, int]], batch_size, …)

get_data(self)

set_data(self, data, int, int]], batch_size, …)

to_dense(self, arg0, arg1)

Attributes

batch_size

population_size

property batch_size
get_data(self: _hxtorch_spiking.SpikeHandle)List[Tuple[int, int, int]]
property population_size
set_data(self: _hxtorch_spiking.SpikeHandle, data: List[Tuple[int, int, int]], batch_size: int, population_size: int)None
to_dense(self: _hxtorch_spiking.SpikeHandle, arg0: float, arg1: float)torch.Tensor