jaxsnn.event.loss.Spike
-
class
jaxsnn.event.loss.Spike(time: jax.Array, idx: jax.Array) Bases:
tree_math._src.vector.VectorMixin,jaxsnn.event.types.Spike-
__init__(time: jax.Array, idx: jax.Array) → None Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(time, idx)Initialize self.
asdict()astuple()tree_unflatten(_, children)Attributes
-
asdict()
-
astuple()
-
property
fields
-
tree_flatten()
-
classmethod
tree_unflatten(_, children)
-