IdentityTransformation#

class named_arrays.transformations.IdentityTransformation#

Bases: AbstractTransformation

The identity transformation just returns its inputs.

Attributes

inverse

A new transformation that reverses the effect of this transformation.

shape

The shape of the transformation.

Methods

__init__()

Inheritance Diagram

Inheritance diagram of named_arrays.transformations.IdentityTransformation
property inverse: Self#

A new transformation that reverses the effect of this transformation.

property shape: dict[str, int]#

The shape of the transformation.