openvino/tests/layer_tests
Jorge Ragde 79b4645a3b
[TF FE] Support Conj operation (#21947)
* Conjugate

* Moved common logic into make_conj helper.

* Update src/frontends/tensorflow_common/src/op/conj_transpose.cpp

* Moved helper to conj_transpose

* Applied helper to both conj and conj_transpose

* Deleted conj.cpp

* Update src/frontends/tensorflow_common/src/op/conj_transpose.cpp

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Update src/frontends/tensorflow_common/src/op/conj_transpose.cpp

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Removed additional Shape:: scope resolution from get_conj helper

* Added Conj and ConjugateTranspose to supported ops

* Update src/frontends/tensorflow/src/op_table.cpp

Change "Conjugate" to "Conj"

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Apply suggestions from code review

* Removed perms call and moved test data directly to parametrize macro

* Apply suggestions from code review

* Apply suggestions from code review

* Changed input types from float32 to complex64

* Changed input type back to np.float32 and removed real tensor test

* Update src/frontends/tensorflow_common/src/op/conj_transpose.cpp

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-01-31 19:09:14 +00: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] Logic for keeping WriteFile in graph. (#22304) 2024-01-26 14:18:57 +00:00
py_frontend_tests [PT FE] Reuse constants obtained with prim::GetAttr (#22530) 2024-01-30 15:34:49 +00:00
pytorch_tests [PT FE] torch.export support (#22397) 2024-01-30 11:50:18 +00: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 [TF FE] Support Conj operation (#21947) 2024-01-31 19:09:14 +00: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 [PT FE] torch.export support (#22397) 2024-01-30 11:50:18 +00:00
requirements.txt Get rid of distutils (#22281) 2024-01-24 21:22:57 +01: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