openvino/tests/layer_tests
Maxim Vafin 92a1f959d6
[PT FE] Save state_dict names in Constant name (#22242)
* Save state_dict names in Constant name

* Fix issue with cert

* Fix cert issue again
2024-01-22 10:40:00 +01:00
..
common [TF FE] Set single output tensor name for TF1 formats. (#21075) 2024-01-15 21:53:43 +04:00
jax_tests [JAX][TF Hub][TF FE] Support XlaConvV2 operation and add JAX test (#19466) 2023-08-29 12:28:12 +04:00
mo_python_api_tests [Py] Removing an old API from tests (#22047) 2024-01-10 19:25:29 +04:00
onnx_tests [Py] Removing an old API from tests (#22047) 2024-01-10 19:25:29 +04:00
ovc_python_api_tests [TF FE] Set single output tensor name for TF1 formats. (#21075) 2024-01-15 21:53:43 +04:00
py_frontend_tests [PT FE] Save state_dict names in Constant name (#22242) 2024-01-22 10:40:00 +01:00
pytorch_tests [PT FE] Add aten::gcd (#21740) 2024-01-18 19:55:25 +01:00
tensorflow2_keras_tests [Py] Removing an old API from tests (#22047) 2024-01-10 19:25:29 +04:00
tensorflow_lite_tests [CPU][ARM] Set `arm64-v8.2-a` as a default architecture (#21545) 2024-01-03 16:39:13 +04:00
tensorflow_tests Parallel execution of TensorFlow Layer 1 Python tests (#22173) 2024-01-18 18:46:20 +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 [Py] Removing an old API from tests (#22047) 2024-01-10 19:25:29 +04:00
pytest.ini [TF FE][Opset13] Enable Multinomial operator in TF frontend (#20646) 2023-12-18 12:00:04 +01:00
requirements.txt [CI] [GHA] Extract test jobs into reusable workflows (#21395) 2023-12-07 23:44:45 +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