* Infrastructure for tflite * Removed submodule flatbuffers * Added flatbuffers submodule. Fixed version to v22.12.06 aka acf39ff * Move headers back * Flatbuffers integration * Small fixes * Started parsing the Model * flatbuffer changes * decoder_flatbuffer changes * Lite Input Model -- not needed as of now but looks cool * Rolled back inherritance from ov::frontend::tensorflow::InputModel * Results are not treated as outputs, but its ok * Fix missplaced input vs output * Refactor * Load model op-by-op. Frontend API finalized * Debugging still, there are prints here and there. Decoder is not sane * Convolution with all attributes is translated and quantization is applied for inputs and constatants. TODO: quantize intermediate tensors, separate decoder specific logic? * Float ssd and posenet models are showing good accuracy * Need to refactor but work flawlessly * Telemetry and lightweight model cutting * Code style and test changes. Extensions supported * Quantization and style * Style refinements * Move onednn back * New portion of operations enabled * TFLite FE doesn't inherrit TF FE * Moved files to another directory * Rename header op_table.hpp to common_op_table.hpp for all files in src/frontends/tensorflow_common/src/op/ * Removed visability macroses * CMake changes * Unit-test execution in .ci * Update labeler.yml * Codeowners * Style check and fix * Static Build arrangement * Addressing the comments * install common headers to previous place * New approach with public decoder and graph_iterator * New approach with public decoder and graph_iterator * Move GraphIterator back * Comments addressed * Comments adressed * Preliminary TF FE README.md changes * Added target_compile_definitions OPENVINO_STATIC_LIBRARY for static build * Fixed conflicts and added TF to common places * Frontends use only openvino::core::dev API * Merged common tensorflow changes and made code build and work on selective number of models * Style * Rollback unnecessary changes from Tensorflow FE * Rollback unnecessary changes from Tensorflow Common * Minor refactor * cmake minor refactoring * Mixed commit * Style and merge fix * Low hanging fruit operations * Fix windows build * Refactor quantization parameters representation * license compliance. approved by OS PDT * copyrights in generic file * dependabot * labeler * Unit Test to be triggered in CI * cmake variables naming. corrected copyright years in copyrights/generic file * library renamed in .ci/ calls * Copyright year update * Set openvino-tf-frontend-maintainers as owner of /src/frontends/tensorflow_lite/ * Fixed flatc corss-compilation * Cleaned flatbuffers header usage * Nitpicks solved * Update cmake/templates/OpenVINOConfig.cmake.in * Compile with flatbuffers headers * Fixed "which is prefixed in the source directory" * Fixed typo in flatbuffers cmake * Removed flatbuffers submodule * Added fork submodule * Fixed static build * Fixed cross-compilatio * Fixed -Wshadow warning * Fixed warning on Windows * Use only headers from flatbuffers library * Added LTO and fixed compilation errors on Windows * Fixed warnings in tensorflow_common * Move ctors implementation to cpp file * Added information about new frontends to common FEm part * Temporaryily disable warnings * Fixed code style using clang-format * Fixed Windows * reverted changes in onnx * Revert changes in onnx_common * Removed pragma once frm cpp Co-authored-by: missjane <estepyreva@gmail.com> Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
44 lines
1.3 KiB
CMake
44 lines
1.3 KiB
CMake
# Copyright (C) 2018-2023 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if(NOT ENABLE_PYTHON)
|
|
message(WARNING "Please enable OpenVINO Runtime Python API (set -DENABLE_PYTHON=ON) targets to enable Model Optimizer target")
|
|
else()
|
|
add_custom_target(model_optimizer DEPENDS ie_api openvino_ir_frontend pyopenvino)
|
|
|
|
if(ENABLE_TESTS)
|
|
add_subdirectory(unit_tests/mock_mo_frontend/mock_mo_frontend)
|
|
add_dependencies(model_optimizer openvino_mock_mo_frontend)
|
|
|
|
add_subdirectory(unit_tests/mock_mo_frontend/mock_mo_python_api)
|
|
add_dependencies(model_optimizer mock_mo_python_api)
|
|
endif()
|
|
endif()
|
|
|
|
# install
|
|
|
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/automation/version.txt.in"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/version.txt" @ONLY)
|
|
|
|
if(ENABLE_TESTS)
|
|
install(FILES requirements_dev.txt
|
|
DESTINATION tests/mo
|
|
COMPONENT tests
|
|
EXCLUDE_FROM_ALL)
|
|
|
|
install(DIRECTORY unit_tests
|
|
DESTINATION tests/mo
|
|
COMPONENT tests
|
|
EXCLUDE_FROM_ALL)
|
|
|
|
install(DIRECTORY automation
|
|
DESTINATION tests/mo
|
|
COMPONENT tests
|
|
EXCLUDE_FROM_ALL)
|
|
|
|
install(FILES .coveragerc
|
|
DESTINATION tests/mo
|
|
COMPONENT tests
|
|
EXCLUDE_FROM_ALL)
|
|
endif()
|