Basic operators¶
-
class
nengo_dl.op_builders.ResetBuilder(ops, signals, config)[source]¶ Build a group of
Resetoperators.-
build_step(signals)[source]¶ This function builds whatever computations need to be executed in each simulation timestep.
Parameters: - signals :
signals.SignalDict Mapping from
Signaltotf.Tensor(updated by operations)
Returns: - list of ``tf.Tensor``, optional
If not None, the returned tensors correspond to outputs with possible side-effects, i.e. computations that need to be executed in the TensorFlow graph even if their output doesn’t appear to be used
- signals :
-
-
class
nengo_dl.op_builders.CopyBuilder(ops, signals, config)[source]¶ Build a group of
Copyoperators.-
build_step(signals)[source]¶ This function builds whatever computations need to be executed in each simulation timestep.
Parameters: - signals :
signals.SignalDict Mapping from
Signaltotf.Tensor(updated by operations)
Returns: - list of ``tf.Tensor``, optional
If not None, the returned tensors correspond to outputs with possible side-effects, i.e. computations that need to be executed in the TensorFlow graph even if their output doesn’t appear to be used
- signals :
-
-
class
nengo_dl.op_builders.ElementwiseIncBuilder(ops, signals, config)[source]¶ Build a group of
ElementwiseIncoperators.-
build_step(signals)[source]¶ This function builds whatever computations need to be executed in each simulation timestep.
Parameters: - signals :
signals.SignalDict Mapping from
Signaltotf.Tensor(updated by operations)
Returns: - list of ``tf.Tensor``, optional
If not None, the returned tensors correspond to outputs with possible side-effects, i.e. computations that need to be executed in the TensorFlow graph even if their output doesn’t appear to be used
- signals :
-
-
class
nengo_dl.op_builders.DotIncBuilder(ops, signals, config)[source]¶ Build a group of
DotIncoperators.-
build_step(signals)[source]¶ This function builds whatever computations need to be executed in each simulation timestep.
Parameters: - signals :
signals.SignalDict Mapping from
Signaltotf.Tensor(updated by operations)
Returns: - list of ``tf.Tensor``, optional
If not None, the returned tensors correspond to outputs with possible side-effects, i.e. computations that need to be executed in the TensorFlow graph even if their output doesn’t appear to be used
- signals :
-
-
class
nengo_dl.op_builders.SparseDotIncBuilder(ops, signals, config)[source]¶ Build a group of
DotIncoperators.-
build_step(signals)[source]¶ This function builds whatever computations need to be executed in each simulation timestep.
Parameters: - signals :
signals.SignalDict Mapping from
Signaltotf.Tensor(updated by operations)
Returns: - list of ``tf.Tensor``, optional
If not None, the returned tensors correspond to outputs with possible side-effects, i.e. computations that need to be executed in the TensorFlow graph even if their output doesn’t appear to be used
- signals :
-
-
class
nengo_dl.op_builders.SimPyFuncBuilder(ops, signals, config)[source]¶ Build a group of
SimPyFuncoperators.-
build_step(signals)[source]¶ This function builds whatever computations need to be executed in each simulation timestep.
Parameters: - signals :
signals.SignalDict Mapping from
Signaltotf.Tensor(updated by operations)
Returns: - list of ``tf.Tensor``, optional
If not None, the returned tensors correspond to outputs with possible side-effects, i.e. computations that need to be executed in the TensorFlow graph even if their output doesn’t appear to be used
- signals :
-