qualia_plugin_som.typing module

class qualia_plugin_som.typing.DSOMLayerParamsConfigDict[source]

Bases: TypedDict

learning_rate: float
elasticity: float
class qualia_plugin_som.typing.KSOMLayerParamsConfigDict[source]

Bases: TypedDict

learning_rate: list[float]
neighbourhood_width: list[float]
class qualia_plugin_som.typing.SOMLayerConfigDict[source]

Bases: TypedDict

kind: str
params: DSOMLayerParamsConfigDict | KSOMLayerParamsConfigDict
class qualia_plugin_som.typing.SOMModelParamsConfigDict[source]

Bases: ModelParamsConfigDict

som_layer: SOMLayerConfigDict
neurons: list[int]
label_sigma: float
input_shape: list[int] | tuple[int, ...]
output_shape: list[int] | tuple[int, ...]
quant_params: NotRequired[QuantizationConfigDict]
class qualia_plugin_som.typing.SOMModelConfigDict[source]

Bases: ModelConfigDict

params: SOMModelParamsConfigDict
epochs: NotRequired[int]
batch_size: NotRequired[int]
load: NotRequired[bool]
train: NotRequired[bool]
evaluate: NotRequired[bool]
optimizer: NotRequired[OptimizerConfigDict]
kind: str
name: str
disabled: NotRequired[bool]