Reference Guide  2.5.0
psyclone.psyad.transformations.adjoint_trans.AdjointTransformation Class Reference
Inheritance diagram for psyclone.psyad.transformations.adjoint_trans.AdjointTransformation:
Collaboration diagram for psyclone.psyad.transformations.adjoint_trans.AdjointTransformation:

Public Member Functions

def __init__ (self, active_variables)
 
- Public Member Functions inherited from psyclone.psyGen.Transformation
def name (self)
 
def apply (self, node, options=None)
 
def validate (self, node, options=None)
 

Detailed Description

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.

:param active_variables: a list of names of the active variables.
:type active_variables: list of \
    :py:class:`psyclone.psyir.symbols.DataSymbol`

:raises TypeError: if the active_variables are of the wrong type.

Definition at line 54 of file adjoint_trans.py.


The documentation for this class was generated from the following file: