peal.teachers.virelay_teacher.Normalize

class peal.teachers.virelay_teacher.Normalize[source]

Bases: Processor

Represents a CoRelAy processor, which normalizes its input data.

Variables:

axes (Param) – A parameter of the processor, which determines the axis over which the data is to be normalized. Defaults to the second and third axes.

Methods

function

Normalizes the specified input data.

axes

alias of tuple

function(data)[source]

Normalizes the specified input data.

Parameters:

data (np.ndarray) – The input data that is to be normalized.

Returns:

Returns the normalized input data.

Return type:

np.ndarray