spark.nn.components.somas.base#
Attributes#
Classes#
Generic soma model output spec. |
|
Abstract soma model configuration class. |
|
Abstract soma model. |
Module Contents#
- class spark.nn.components.somas.base.SomaOutput[source]#
Bases:
TypedDictGeneric soma model output spec.
Initialize self. See help(type(self)) for accurate signature.
- potential: spark.core.payloads.PotentialArray[source]#
- class spark.nn.components.somas.base.SomaConfig(__skip_validation__=False, **kwargs)[source]#
Bases:
spark.nn.components.base.ComponentConfigAbstract soma model configuration class.
- Parameters:
__skip_validation__ (bool)
- class spark.nn.components.somas.base.Soma(config=None, **kwargs)[source]#
Bases:
spark.nn.components.base.Component,Generic[ConfigT]Abstract soma model.
- Parameters:
config (ConfigT | None)
- build(input_specs)[source]#
Build method.
- Parameters:
input_specs (dict[str, spark.core.specs.PortSpecs])
- __call__(current)[source]#
Update neuron’s states and compute spikes.
- Parameters:
current (spark.core.payloads.CurrentArray)
- Return type: