• Andrey Golubev's avatar
    Merge pull request #15313 from andrey-golubev:map_subst_to_pattern · 9f4f9000
    Andrey Golubev authored
    G-API: add transformation logic to GCompiler
    
    * Introduce transformation logic to GCOmpiler
    
    * Remove partialOk() method
    
    * Fix minor issues
    
    * Refactor code according to code review
    
    1. Re-design matchPatternToSubstitute logic
    2. Update transformations order
    3. Replace check_transformations pass with a
       one time check in GCompiler ctor
    
    * Revert unused nodes handling in pattern matching
    
    * Address minor code review issues
    
    * Address code review comments:
    
    1) Fix some mistakes
    2) Add new tests for endless loops
    3) Update GCompiler's transformations logic
    
    * Simplify GCompiler check for endless loops
    
    1. Simplify transformations endless loops check:
     - Original idea wasn't a full solution
     - Need to develop a good method (heuristic?) to find loops
       in general case (TODO)
    2. Remove irrelevant Endless Loops tests
    3. Add new "bad arg" tests and unit tests
    
    * Update comments
    9f4f9000
Name
Last commit
Last update
.github Loading commit data...
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...