hxtorch.spiking.observables.CADCHandle
-
class
hxtorch.spiking.observables.CADCHandle Bases:
pybind11_builtins.pybind11_object-
__init__(self: _hxtorch_spiking.CADCHandle, data: list[tuple[int, int, int, int]], batch_size: int, population_size: int) → None
Methods
__init__(self, data, int, int, int]], …)get_data(self)set_data(self, data, int, int, int]], …)to_dense(*args, **kwargs)Overloaded function.
to_raw(self)Attributes
-
property
batch_size
-
get_data(self: _hxtorch_spiking.CADCHandle) → list[tuple[int, int, int, int]]
-
property
population_size
-
set_data(self: _hxtorch_spiking.CADCHandle, data: list[tuple[int, int, int, int]], batch_size: int, population_size: int) → None
-
to_dense(*args, **kwargs) Overloaded function.
to_dense(self: _hxtorch_spiking.CADCHandle, runtime: float, dt: float, mode: str = ‘linear’) -> torch.Tensor
to_dense(self: _hxtorch_spiking.CADCHandle, runtime: float, mode: str = ‘linear’) -> tuple[torch.Tensor, float]
-
to_raw(self: _hxtorch_spiking.CADCHandle) → tuple[torch.Tensor, torch.Tensor]
-