diff --git a/README.rst b/README.rst index 263faf5..775e4d4 100644 --- a/README.rst +++ b/README.rst @@ -120,7 +120,7 @@ For example:: with model: signal = nengo.Node(lambda t: np.sin(t)) - nengo_spinnaker.add_params(model.config) + nengo_spinnaker.add_spinnaker_params(model.config) model.config[signal].function_of_time = True diff --git a/nengo_spinnaker/netlist.py b/nengo_spinnaker/netlist.py index 760b83e..c6c4fbe 100644 --- a/nengo_spinnaker/netlist.py +++ b/nengo_spinnaker/netlist.py @@ -38,8 +38,6 @@ class Net(rig.netlist.Net): 32-bit bitfield instance that can be used to derive the routing key and mask for the net. """ - __slots__ = ['keyspace'] # Only add keyspace to the list of slots - def __init__(self, source, sinks, weight, keyspace): """Create a new net. @@ -85,8 +83,6 @@ class Vertex(object): cluster : int or None Index of the cluster the vertex is a part of. """ - __slots__ = ["application", "constraints", "resources", "cluster"] - def __init__(self, application=None, resources=dict(), constraints=list()): """Create a new Vertex. """ @@ -114,8 +110,6 @@ class VertexSlice(Vertex): Slice of the unit of computation which is represented by this vertex slice. """ - __slots__ = ["slice"] - def __init__(self, slice, application=None, resources=dict(), constraints=list()): super(VertexSlice, self).__init__(application, resources, constraints)