psyclone.psyad.transformations.adjoint_trans

This module contains an abstract parent class for adjoint transformations.

Classes

class psyclone.psyad.transformations.adjoint_trans.AdjointTransformation(active_variables)

An abstract class for Adjoint transformations. Requires a list of active variables to be passed when creating an instance of the class. Also supports an optional writer argument.

Parameters:

active_variables (list of psyclone.psyir.symbols.DataSymbol) – a list of names of the active variables.

Raises:

TypeError – if the active_variables are of the wrong type.

Inheritance

Inheritance diagram of AdjointTransformation