hxtorch.spiking.experiment

Defining basic types to create hw-executable instances

Classes

ABC()

Helper class that provides a standard way to create an ABC using inheritance.

BaseExperiment(modules, mock, dt)

BaseModuleManager()

Abstract base class for module manager

ExecutionInstance(calib_path, str]] = None, …)

ExecutionInstances

List of ExecutionInstances

Experiment(mock, dt[, hw_routing_func])

Experiment class for describing experiments on hardware

HardwareObservablesExtractor()

ModuleManager()

Object representing all nodes in a graph-like data structure

Functions

hxtorch.spiking.experiment.abstractmethod(funcobj)

A decorator indicating abstract methods.

Requires that the metaclass is ABCMeta or derived from it. A class that has a metaclass derived from ABCMeta cannot be instantiated unless all of its abstract methods are overridden. The abstract methods can be called using any of the normal ‘super’ call mechanisms. abstractmethod() may be used to declare abstract methods for properties and descriptors.

Usage:

class C(metaclass=ABCMeta):

@abstractmethod def my_abstract_method(self, …):