hxtorch.spiking.experiment.BaseExperiment
-
class
hxtorch.spiking.experiment.
BaseExperiment
(modules: hxtorch.spiking.backend.module_manager.BaseModuleManager, mock: bool, dt: float) Bases:
abc.ABC
-
__init__
(modules: hxtorch.spiking.backend.module_manager.BaseModuleManager, mock: bool, dt: float) → None Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(modules, mock, dt)Initialize self.
connect
(module, input_handles, output_handle)get_hw_results
(runtime)-
abstract
connect
(module: torch.nn.modules.module.Module, input_handles: hxtorch.spiking.handle.TensorHandle, output_handle: hxtorch.spiking.handle.TensorHandle)
-
abstract
get_hw_results
(runtime: Optional[int]) → Dict[_pygrenade_vx_network.PopulationOnNetwork, Tuple[Optional[torch.Tensor], …]]
-