* [PT FE] Add aten::argsort implementation & tests * [PT FE] Fix formatting * [PT FE] Fix incorrect node type for Gather * [PT FE] Fix Reshape missing argument * [PT FE] Simplify syntax, fix int/int64 conversion error * [PT FE] Fix argsort incorrectly sorting negative dimension, fix tests * [PT FE] Revert modify test class * [PT FE] Fix formatting of argsort * [PT FE] Fix define macro style * [PT FE] Add missing EOF * [PT FE] Add stable==false check, add support for different constructor calls * [PT FE] Add aten::sort implementation & tests * [PT FE] Apply style changes, add XFail test for stable sorting * Update sort.cpp * Update sort.cpp * [PT FE] Apply style changes from aten::sort t PR * Update test_argsort.py * [PT FE] Apply suggested modifications * Update test_argsort.py * [PT FE] Apply review suggestions, add tests and extract sort method to utils * [PT FE] Use utils sort function to implement argsort * [PT FE] Fix input size check 4->5 * [PT FE] Implement improved tests * [PT FE] Implement improved tests * [PT FE] Add xfail to not yet supported tests * [PT FE] Merge 2 implementations of sort and argsort into a single file * [PT FE] Remove redundant sort_elements from utils * [PT FE] Add num_inputs_check --------- Co-authored-by: Maxim Vafin <maxim.vafin@intel.com> |
||
|---|---|---|
| .. | ||
| common | ||
| mo_python_api_tests | ||
| onnx_tests | ||
| py_frontend_tests | ||
| pytorch_tests | ||
| tensorflow2_keras_tests | ||
| tensorflow_lite_tests | ||
| tensorflow_tests | ||
| .gitignore | ||
| CMakeLists.txt | ||
| README.md | ||
| conftest.py | ||
| pytest.ini | ||
| requirements.txt | ||
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