qualia_codegen_plugin_snn.graph.layers.TLifLayer module

class qualia_codegen_plugin_snn.graph.layers.TLifLayer.TLifLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, v_threshold: 'NDArrayFloatOrInt', v_reset: 'NDArrayFloatOrInt | None', soft_reset: 'bool', reciprocal_tau: 'NDArrayFloatOrInt', decay_input: 'bool')[source]

Bases: TIfLayer

reciprocal_tau: NDArrayFloatOrInt
decay_input: bool
property weights: OrderedDict[str, NDArrayFloatOrInt]
v_threshold: NDArrayFloatOrInt
v_reset: NDArrayFloatOrInt | None
soft_reset: bool
input_shape: Shapes
output_shape: Shapes
output_dtype: DTypes
name: str