openvino/tests/layer_tests
Anastasia Popova 10f0075e90
RandomUniformFusion transformation. (#7187)
* Added RandomUniformFusion transformation.

* Extended transformations for case with Convert, extended transformations for general min and max value case.

* Set to const unchanged variables.

* Apply suggestions from code review

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>

* Reformat code, small corrections.

* Added const shape checks.

* Fixed transformation for case of different const ranks.

* Added type checks.

* Apply suggestions from code review

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>

* United RandomUniformMulFusion and RandomUniformAddFusion to single transformation.

* Added negative tests.

* Used get_constant_from_source().

* Moved transformation to common fusions.

* Added const refs.

* Update inference-engine/src/transformations/src/transformations/common_optimizations/random_uniform_fusion.cpp

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>

* Changed to single class.

* Corrected IRs checks in layer tests.

* Small corrections.

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
2021-09-16 11:07:19 +03:00
..
common Removed information about FPGA plugin (#7474) 2021-09-13 14:01:49 +03:00
onnx_tests Add support opset11 for gemm normalizer (#6733) 2021-08-24 15:43:19 +03:00
tensorflow_tests RandomUniformFusion transformation. (#7187) 2021-09-16 11:07:19 +03:00
.gitignore Add layer tests (#5789) 2021-06-16 12:50:16 +03:00
CMakeLists.txt Install layer tests with CMake (#6892) 2021-08-20 11:09:42 +03:00
README.md Add layer tests (#5789) 2021-06-16 12:50:16 +03:00
conftest.py Add layer tests (#5789) 2021-06-16 12:50:16 +03:00
requirements.txt Add layer tests (#5789) 2021-06-16 12:50:16 +03:00

README.md

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