* add subgraph instead of constant with fixed shape to allow model have undefined batch * updated transformation (not checked yet) * changed ReverseV2ToReverseSequence to support dynamic shapes/reshape; added transformation to reverse_tensor_iterator to support new subgraph got from ReverseV2ToReverseSequence * remove changes that should not be on this branch * added tests; fixed old transformation * added delete of reversesequences to avoid run of transformation twice * fixed pattern check for case with dynamic value for input of reversesequence * Revert "fixed pattern check for case with dynamic value for input of reversesequence" This reverts commit0c04164e* Revert "added delete of reversesequences to avoid run of transformation twice" This reverts commitfcb7de9c* reversed changes in reverse_tensorr_iterator for Squeeze case; update reverse_tensor_iterator with shapeof subgraph added permutations for attributes to pass layer test * minor fix for dynamic shape * updated test; fixed backward compatibility in reverse_tensor_iterator transformation * revew comments fixed: added comments; refactoring done; fixed framework name saving for rank = 1 * minor review fixes * small fix
Layer tests
This folder layer tests framework code and test files.
Getting Started
Pre-requisites
- OpenVINO should be configured as usual.
Setup
- Install requirements:
pip3 install -r requirements.txt - Set up environment variables for layer tests:
export MO_ROOT=PATH_TO_MOexport PYTHONPATH="path_to_openvino"/tests/layer_tests/:$PYTHONPATHexport IE_APP_PATH="path_to_IE" - Add IE dependencies in LD_LIBRARY_PATH.
Run tests
py.test