openvino/tests/layer_tests
Ilya Lavrenov 6d17bbb7e9
Conan port (#17625)
2023-05-24 22:07:50 +04:00
..
common [TF FE] Provide single tensor names for inputs and outputs in SavedModel (#17373) 2023-05-05 19:06:59 +02:00
mo_python_api_tests Remove posibility to export to onnx (#17423) 2023-05-10 16:35:54 +04:00
onnx_tests Set ONNX opset in Reduce ops layer tests (#17170) 2023-04-25 10:38:56 +02:00
py_frontend_tests Update docs for frontend extensions (#17428) 2023-05-09 13:27:40 +02:00
pytorch_tests Added Torchscript backend (#17328) 2023-05-08 03:44:10 -07:00
tensorflow2_keras_tests [TF FE] Provide single tensor names for inputs and outputs in SavedModel (#17373) 2023-05-05 19:06:59 +02:00
tensorflow_lite_tests Adds layer tests for binary and reduce tflite operations (#15791) 2023-02-24 14:46:29 +04:00
tensorflow_tests Conan port (#17625) 2023-05-24 22:07:50 +04:00
.gitignore Add layer tests (#5789) 2021-06-16 12:50:16 +03:00
CMakeLists.txt Updated copyright headers (#15124) 2023-01-16 11:02:17 +04:00
README.md Refactor of renaming ov libraries for layer tests with key --use_new_frontend (#12846) 2022-09-20 13:43:37 +04:00
conftest.py Updated copyright headers (#15124) 2023-01-16 11:02:17 +04:00
pytest.ini Added Torchscript backend (#17328) 2023-05-08 03:44:10 -07:00
requirements.txt [PyOV] Enable Python 3.11 (#15144) 2023-04-17 13:30:17 +04: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 (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