qualia_plugin_som.learningmodel.pytorch.layers.NormalizeMinMax module

class qualia_plugin_som.learningmodel.pytorch.layers.NormalizeMinMax.NormalizeMinMax[source]

Bases: Module

__init__(device: device | None = None, dtype: dtype | None = None) None[source]
Parameters:
Return type:

None

update_min_max(x: Tensor) None[source]
Parameters:

x (Tensor)

Return type:

None

normalize_min_max(x: Tensor, min_val: Tensor, reciprocal_divisor: Tensor) Tensor[source]
Parameters:
Return type:

Tensor

forward(input: Tensor) Tensor[source]
Parameters:

input (Tensor)

Return type:

Tensor

property reciprocal_divisor: Tensor