peal.teachers.virelay_teacher.Flatten¶ class peal.teachers.virelay_teacher.Flatten[source]¶ Bases: Processor Represents a CoRelAy processor, which flattens its input data. Methods function Applies the flattening to the input data. function(data)[source]¶ Applies the flattening to the input data. Parameters: data (np.ndarray) – The input data that is to be flattened. Returns: Returns the flattened data. Return type: np.ndarray