• 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
..
calib3d Loading commit data...
core Loading commit data...
dnn Loading commit data...
features2d Loading commit data...
flann Loading commit data...
gapi Loading commit data...
highgui Loading commit data...
imgcodecs Loading commit data...
imgproc Loading commit data...
java Loading commit data...
js Loading commit data...
ml Loading commit data...
objdetect Loading commit data...
photo Loading commit data...
python Loading commit data...
stitching Loading commit data...
ts Loading commit data...
video Loading commit data...
videoio Loading commit data...
world Loading commit data...
CMakeLists.txt Loading commit data...