Files
openvino/tests/layer_tests
Pavel Esir 4738bbd757 [MO][nG] add Gather-8 to MO, layer tests, nG python api unit-tests and up/down-grading transformations (#6560)
* gather-8 upgrade/downgrade transforms

* bump to opset8

* add Gather-8 to MO

* fix permutation for Gather

* added TF layer tests, ONNX layer tests for negative indices, and nG python api unit-tests for negative indices

* typo fix, disable downgrading transformation

* disable downgrade in clDNN, line width style fix

* all Gathers are converted to 7th version, transformations will be enabled/disabled while op will be added into plugins

* disabled Gather8LayerTest on GPU

* added common function for Op replacement

* concretized meaning of negative indices, fixed some typos

* applied review comments: left only meaningful layer tests

* removed op replacing functions from common utils

* returned back transformations without subroutines

* corrected style, added comments to common_optimizations.cpp
2021-08-13 11:56:49 +03:00
..
2021-06-16 12:50:16 +03:00
2021-06-16 12:50:16 +03:00
2021-06-16 12:50:16 +03:00
2021-06-16 12:50:16 +03:00

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_MO
    
    export PYTHONPATH="path_to_openvino"/tests/layer_tests/:$PYTHONPATH
    
    export IE_APP_PATH="path_to_IE"
    
  • Add IE dependencies in LD_LIBRARY_PATH.

Run tests

py.test