* tf_fe lib renaming to switch to new fe * Apply suggestions from code review * 1. implements renaming for win os 2. --api_2 key is equal to True by default * --ir_version key is equal to '11' by default * resolves merge conflicts * check if file to rename exists Co-authored-by: Evgenya Stepyreva <eva.my.link@gmail.com>
31 lines
608 B
Markdown
31 lines
608 B
Markdown
# Layer tests
|
|
|
|
This folder layer tests framework code and test files.
|
|
|
|
## Getting Started
|
|
|
|
#### Pre-requisites
|
|
|
|
* OpenVINO should be configured as usual.
|
|
|
|
#### Setup
|
|
|
|
* Install requirements:
|
|
```bash
|
|
pip3 install -r requirements.txt
|
|
```
|
|
* Set up environment variables for layer tests:
|
|
```bash
|
|
export PYTHONPATH="path_to_openvino"/tests/layer_tests/:"path_to_openvino"/tools/mo:"path to python api"
|
|
```
|
|
To parametrize tests by device and precision (optional)
|
|
```bash
|
|
export TEST_DEVICE="CPU;GPU"
|
|
export TEST_PRECISION="FP32;FP16"
|
|
```
|
|
|
|
## Run tests
|
|
```bash
|
|
py.test
|
|
```
|