openvino/tests/layer_tests
Ruslan Nugmanov 4601b31bd0
Keras to tflite version of tests (#15042)
* keras to tflite version of tests

* Update tests/layer_tests/common/tf2_layer_test_class.py

Co-authored-by: Evgenya Stepyreva <eva.my.link@gmail.com>

* moved out tf utility functions from modules with tf_layer_test classes to tf_utils module

* moved out tf utility functions from modules with tf_layer_test classes to tf_utils module and tflite_utils modules

Co-authored-by: Evgenya Stepyreva <eva.my.link@gmail.com>
2023-01-13 10:29:50 +00:00
..
common Keras to tflite version of tests (#15042) 2023-01-13 10:29:50 +00:00
mo_python_api_tests Support of passing model from memory to mo.convert_model() (#13457) 2022-11-19 11:21:44 +03:00
onnx_tests Changed fw_eps for test_conv_5D_precommit tests (#14573) 2022-12-22 19:42:33 +03:00
tensorflow2_keras_tests Keras to tflite version of tests (#15042) 2023-01-13 10:29:50 +00:00
tensorflow_tests [TF FE] Support While and StatelessWhile operations (#15043) 2023-01-11 21:51:56 +00:00
.gitignore Add layer tests (#5789) 2021-06-16 12:50:16 +03:00
CMakeLists.txt Update year to 2022 in copyright notice (#9755) 2022-01-19 01:07:49 +03: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 TFlite layer tests (#14760) 2022-12-23 05:44:44 +03:00
pytest.ini Remove unsued map initialization (#11621) 2022-05-05 00:50:34 +02:00
requirements.txt Support of passing model from memory to mo.convert_model() (#13457) 2022-11-19 11:21:44 +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 (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