* Fixed legacy extensions passing to MO tool. * Added tests. * Corrected test. * Add debug print. * Moved tests to layer tests. * Added comment. * Moved legacy ext tests to separate file. Fixed tmp .pb file cleaning. * Small correction. * Run MO Python API tests directory in CI. * Small fix. * Fix for case of splitted output. * Corrected imports. * Corrected imports. * Added run of legacy extensions tests from subprocess.
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 (if you use wheel package path to python api could be removed):
export PYTHONPATH="path_to_openvino"/tests/layer_tests/:"path_to_openvino"/tools/mo:"path to python api" - If there is need to use specific libs it is possible to specify path to them using OV_LIBRARY_PATH env variable
export OV_LIBRARY_PATH="path_to_libs" - To parametrize tests by device and precision (optional)
export TEST_DEVICE="CPU;GPU" export TEST_PRECISION="FP32;FP16"
Run tests
py.test