.xoptim.patterns_fix

experimental_experiment.xoptim.patterns_fix.get_fix_patterns(verbose: int = 0) List[PatternOptimization][source]

Returns a default list of optimization patterns for experimentation. It is equal to the following list.

<<<

from experimental_experiment.xoptim.patterns_api import pattern_table_doc
from experimental_experiment.xoptim.patterns_fix import get_fix_patterns

print(pattern_table_doc(get_fix_patterns(), as_rst=True))

>>>

name

short_name

priority

doc

0

AddReductionScatterND

AddReductionScatterND

1

Replaces ConstantOfShape + ScatterND with ScatterNDOfShape (com.domain).