peal.data.transformations.IdentityNormalization

class peal.data.transformations.IdentityNormalization[source]

Bases: object

No-op stand-in for Normalization.

Used where a dataset needs an object with __call__ and invert but its images are already in the value range the model expects.

Methods

invert

Return batch unchanged.

__call__(sample)[source]

Return sample unchanged.

invert(batch)[source]

Return batch unchanged.