TimeloopFE
|
Defines constraint macros to be used for simplifying constraint specification. More...
Public Member Functions | |
__init__ (self, *args, **kwargs) | |
declare_attrs (self) | |
Initialize the attributes that the processor is responsible for. | |
Dict[str, int] | get_unconstrained_dims (self, Specification spec) |
Dict[str, int] | get_constrained_dims (self, Factors factors, Specification spec) |
process (self, Specification spec) | |
Process the specification. | |
Public Member Functions inherited from timeloopfe.common.processor.Processor | |
pre_parse_process (self, "Specification" spec) | |
Process the specification before parsing. | |
get_index (self, type processor_type, "Specification" spec) | |
Get the index of the processor in the list of processors. | |
must_run_after (self, type other, "Specification" spec, bool ok_if_not_found=False) | |
Ensure that this processor runs after another processor. | |
add_attr (self, Node target, *args, **kwargs) | |
Additional Inherited Members | |
Public Attributes inherited from timeloopfe.common.processor.Processor | |
logger = logging.getLogger(self.__class__.__name__) | |
spec = spec | |
Protected Attributes inherited from timeloopfe.common.processor.Processor | |
bool | _initialized = True |
Defines constraint macros to be used for simplifying constraint specification.
Iteration constraint macros:
Dataspace constraint macros:
timeloopfe.v4.processors.constraint_macro.ConstraintMacroProcessor.__init__ | ( | self, | |
* | args, | ||
** | kwargs ) |
Reimplemented from timeloopfe.common.processor.Processor.
timeloopfe.v4.processors.constraint_macro.ConstraintMacroProcessor.declare_attrs | ( | self | ) |
Initialize the attributes that the processor is responsible for.
!
Reimplemented from timeloopfe.common.processor.Processor.
Dict[str, int] timeloopfe.v4.processors.constraint_macro.ConstraintMacroProcessor.get_constrained_dims | ( | self, | |
Factors | factors, | ||
Specification | spec ) |
Dict[str, int] timeloopfe.v4.processors.constraint_macro.ConstraintMacroProcessor.get_unconstrained_dims | ( | self, | |
Specification | spec ) |
timeloopfe.v4.processors.constraint_macro.ConstraintMacroProcessor.process | ( | self, | |
Specification | spec ) |
Process the specification.
Reimplemented from timeloopfe.common.processor.Processor.