* 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>
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