Merge remote-tracking branch 'upstream/master' into sy/test/ConvolutionLayerTest_dynamic_shape_case

This commit is contained in:
Steve Yoo committed 2021-09-13 15:30:48 +09:00
commit 8adbaba71d
223 files changed
+559 -490

No files matched your search

+1
View File
@@ -32,6 +32,7 @@ message (STATUS "CMAKE_C_COMPILER_ID ................... " ${CMAKE_C_COMPILER_ID
message (STATUS "CMAKE_BUILD_TYPE ...................... " ${CMAKE_BUILD_TYPE})
# remove file with exported developer targets to force its regeneration
file(REMOVE "${CMAKE_BINARY_DIR}/ngraph/ngraphTargets.cmake")
file(REMOVE "${CMAKE_BINARY_DIR}/InferenceEngineTargets.cmake")
file(REMOVE "${CMAKE_BINARY_DIR}/OpenVINOTargets.cmake")
foreach(component IN LISTS openvino_export_components)
+22 -109
View File
@@ -25,111 +25,32 @@
@PACKAGE_INIT@
#
# Common functions
#
if(NOT DEFINED CMAKE_FIND_PACKAGE_NAME)
set(CMAKE_FIND_PACKAGE_NAME InferenceEngine)
set(_need_package_name_reset ON)
set(_ie_need_package_name_reset ON)
endif()
# we have to use our own version of find_dependency because of support cmake 3.7
macro(_ie_find_dependency dep)
set(cmake_fd_quiet_arg)
if(${CMAKE_FIND_PACKAGE_NAME}_FIND_QUIETLY)
set(cmake_fd_quiet_arg QUIET)
endif()
set(cmake_fd_required_arg)
if(${CMAKE_FIND_PACKAGE_NAME}_FIND_REQUIRED)
set(cmake_fd_required_arg REQUIRED)
endif()
# need to store current PACKAGE_PREFIX_DIR, because it's overwritten by sub-package one
set(_ie_package_prefix_dir "${PACKAGE_PREFIX_DIR}")
get_property(cmake_fd_alreadyTransitive GLOBAL PROPERTY
_CMAKE_${dep}_TRANSITIVE_DEPENDENCY)
include(CMakeFindDependencyMacro)
find_package(${dep} ${ARGN}
${cmake_fd_quiet_arg}
${cmake_fd_required_arg})
find_dependency(OpenVINO
PATHS "${CMAKE_CURRENT_LIST_DIR}"
NO_CMAKE_FIND_ROOT_PATH
NO_DEFAULT_PATH)
if(NOT DEFINED cmake_fd_alreadyTransitive OR cmake_fd_alreadyTransitive)
set_property(GLOBAL PROPERTY _CMAKE_${dep}_TRANSITIVE_DEPENDENCY TRUE)
endif()
if(NOT ${dep}_FOUND)
set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "${CMAKE_FIND_PACKAGE_NAME} could not be found because dependency ${dep} could not be found.")
set(${CMAKE_FIND_PACKAGE_NAME}_FOUND False)
return()
endif()
set(cmake_fd_required_arg)
set(cmake_fd_quiet_arg)
endmacro()
function(_ie_target_no_deprecation_error)
if(NOT MSVC)
if(CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
set(flags "-diag-warning=1786")
else()
set(flags "-Wno-error=deprecated-declarations")
endif()
if(CMAKE_CROSSCOMPILING)
set_target_properties(${ARGV} PROPERTIES
INTERFACE_LINK_OPTIONS "-Wl,--allow-shlib-undefined")
endif()
set_target_properties(${ARGV} PROPERTIES INTERFACE_COMPILE_OPTIONS ${flags})
endif()
endfunction()
#
# Inference Engine config
#
# need to store current PACKAGE_PREFIX_DIR, because it's overwritten by ngraph one
set(IE_PACKAGE_PREFIX_DIR "${PACKAGE_PREFIX_DIR}")
set(THREADING "@THREADING@")
if(THREADING STREQUAL "TBB" OR THREADING STREQUAL "TBB_AUTO" AND NOT TBB_FOUND)
set_and_check(_tbb_dir "@PACKAGE_IE_TBB_DIR@")
_ie_find_dependency(TBB
COMPONENTS tbb tbbmalloc
CONFIG
PATHS ${TBBROOT}/cmake
${_tbb_dir}
NO_CMAKE_FIND_ROOT_PATH
NO_DEFAULT_PATH)
# create targets with old names for compatibility
if(TARGET openvino::runtime AND NOT TARGET IE::inference_engine)
add_library(IE::inference_engine INTERFACE IMPORTED)
set_target_properties(IE::inference_engine PROPERTIES
INTERFACE_LINK_LIBRARIES openvino::runtime)
endif()
set_and_check(_ngraph_dir "@PACKAGE_IE_NGRAPH_DIR@")
_ie_find_dependency(ngraph
CONFIG
PATHS ${_ngraph_dir}
NO_CMAKE_FIND_ROOT_PATH
NO_DEFAULT_PATH)
if(NOT TARGET inference_engine)
set(_ie_as_external_package ON)
include("${CMAKE_CURRENT_LIST_DIR}/InferenceEngineTargets.cmake")
# create targets with old names for compatibility
if(TARGET IE::runtime AND NOT TARGET IE::inference_engine)
add_library(IE::inference_engine INTERFACE IMPORTED)
set_target_properties(IE::inference_engine PROPERTIES
INTERFACE_LINK_LIBRARIES IE::runtime)
endif()
if(TARGET IE::core AND NOT TARGET ngraph::ngraph)
add_library(IE::ngraph INTERFACE IMPORTED)
set_target_properties(IE::ngraph PROPERTIES
INTERFACE_LINK_LIBRARIES IE::core)
endif()
if(TARGET IE::runtime::c AND NOT TARGET IE::inference_engine_c_api)
add_library(IE::inference_engine_c_api INTERFACE IMPORTED)
set_target_properties(IE::inference_engine_c_api PROPERTIES
INTERFACE_LINK_LIBRARIES IE::runtime::c)
endif()
if(TARGET openvino::runtime::c AND NOT TARGET IE::inference_engine_c_api)
add_library(IE::inference_engine_c_api INTERFACE IMPORTED)
set_target_properties(IE::inference_engine_c_api PROPERTIES
INTERFACE_LINK_LIBRARIES openvino::runtime::c)
endif()
# mark components as available
@@ -145,29 +66,21 @@ unset(InferenceEngine_LIBRARIES)
foreach(comp IN LISTS ${CMAKE_FIND_PACKAGE_NAME}_FIND_COMPONENTS)
# check if the component is available
if(${CMAKE_FIND_PACKAGE_NAME}_${comp}_FOUND)
set(pcomp ${comp})
if(_ie_as_external_package)
set(pcomp IE::${comp})
endif()
set(pcomp IE::${comp})
list(APPEND InferenceEngine_LIBRARIES ${pcomp})
endif()
endforeach()
if(_ie_as_external_package)
_ie_target_no_deprecation_error(${InferenceEngine_LIBRARIES})
endif()
unset(_ie_as_external_package)
# restore PACKAGE_PREFIX_DIR
set(PACKAGE_PREFIX_DIR ${IE_PACKAGE_PREFIX_DIR})
unset(IE_PACKAGE_PREFIX_DIR)
set(PACKAGE_PREFIX_DIR ${_ie_package_prefix_dir})
unset(_ie_package_prefix_dir)
set_and_check(InferenceEngine_INCLUDE_DIRS "@PACKAGE_IE_INCLUDE_DIR@")
check_required_components(${CMAKE_FIND_PACKAGE_NAME})
if(_need_package_name_reset)
if(_ie_need_package_name_reset)
unset(CMAKE_FIND_PACKAGE_NAME)
unset(_need_package_name_reset)
unset(_ie_need_package_name_reset)
endif()
@@ -44,11 +44,24 @@ find_dependency(InferenceEngine
NO_CMAKE_FIND_ROOT_PATH
NO_DEFAULT_PATH)
find_dependency(OpenVINO
PATHS "${CMAKE_CURRENT_LIST_DIR}"
find_dependency(ngraph
PATHS "${CMAKE_CURRENT_LIST_DIR}/ngraph"
NO_CMAKE_FIND_ROOT_PATH
NO_DEFAULT_PATH)
# create targets with old names for compatibility
if(TARGET openvino::core AND NOT TARGET IE::core)
add_library(IE::core INTERFACE IMPORTED)
set_target_properties(IE::core PROPERTIES
INTERFACE_LINK_LIBRARIES openvino::core)
endif()
if(TARGET openvino::runtime AND NOT TARGET IE::runtime)
add_library(IE::runtime INTERFACE IMPORTED)
set_target_properties(IE::runtime PROPERTIES
INTERFACE_LINK_LIBRARIES openvino::runtime)
endif()
# WA for cmake: it exports ngraph as IE::ngraph in the IE export list
# while we already have ngraph export in its own export list as ngraph::ngraph
if(TARGET ngraph::ngraph AND NOT TARGET IE::ngraph)
+30 -26
View File
@@ -37,41 +37,45 @@
@PACKAGE_INIT@
if(NOT TARGET ngraph)
include("${CMAKE_CURRENT_LIST_DIR}/ngraphTargets.cmake")
include(CMakeFindDependencyMacro)
# create targets with old names for compatibility
if(TARGET ngraph::core AND NOT TARGET ngraph::ngraph)
add_library(ngraph::ngraph INTERFACE IMPORTED)
set_target_properties(ngraph::ngraph PROPERTIES
INTERFACE_LINK_LIBRARIES ngraph::core)
endif()
find_dependency(OpenVINO
PATHS "${CMAKE_CURRENT_LIST_DIR}"
"${CMAKE_CURRENT_LIST_DIR}/ngraph"
NO_CMAKE_FIND_ROOT_PATH
NO_DEFAULT_PATH)
if(TARGET ngraph::frontend::manager AND NOT TARGET ngraph::frontend_manager)
add_library(ngraph::frontend_manager INTERFACE IMPORTED)
set_target_properties(ngraph::frontend_manager PROPERTIES
INTERFACE_LINK_LIBRARIES ngraph::frontend::manager)
endif()
# create targets with old names for compatibility
if(TARGET openvino::core AND NOT TARGET ngraph::ngraph)
add_library(ngraph::ngraph INTERFACE IMPORTED)
set_target_properties(ngraph::ngraph PROPERTIES
INTERFACE_LINK_LIBRARIES openvino::core)
endif()
if(TARGET ngraph::frontend::onnx AND NOT TARGET ngraph::onnx_ngraph_frontend)
add_library(ngraph::onnx_ngraph_frontend INTERFACE IMPORTED)
set_target_properties(ngraph::onnx_ngraph_frontend PROPERTIES
INTERFACE_LINK_LIBRARIES ngraph::frontend::onnx)
endif()
if(TARGET openvino::frontend::manager AND NOT TARGET ngraph::frontend_manager)
add_library(ngraph::frontend_manager INTERFACE IMPORTED)
set_target_properties(ngraph::frontend_manager PROPERTIES
INTERFACE_LINK_LIBRARIES openvino::frontend::manager)
endif()
if(TARGET ngraph::frontend::paddlepaddle AND NOT TARGET ngraph::paddlepaddle_ngraph_frontend)
add_library(ngraph::paddlepaddle_ngraph_frontend INTERFACE IMPORTED)
set_target_properties(ngraph::paddlepaddle_ngraph_frontend PROPERTIES
INTERFACE_LINK_LIBRARIES ngraph::frontend::paddlepaddle)
endif()
if(TARGET openvino::frontend::onnx AND NOT TARGET ngraph::onnx_ngraph_frontend)
add_library(ngraph::onnx_ngraph_frontend INTERFACE IMPORTED)
set_target_properties(ngraph::onnx_ngraph_frontend PROPERTIES
INTERFACE_LINK_LIBRARIES openvino::frontend::onnx)
endif()
if(TARGET openvino::frontend::paddlepaddle AND NOT TARGET ngraph::paddlepaddle_ngraph_frontend)
add_library(ngraph::paddlepaddle_ngraph_frontend INTERFACE IMPORTED)
set_target_properties(ngraph::paddlepaddle_ngraph_frontend PROPERTIES
INTERFACE_LINK_LIBRARIES openvino::frontend::paddlepaddle)
endif()
set(ngraph_ngraph_FOUND ON)
set(NGRAPH_LIBRARIES ngraph::ngraph)
set(ngraph_onnx_ngraph_frontend_FOUND @NGRAPH_ONNX_FRONTEND_ENABLE@)
set(ngraph_onnx_ngraph_frontend_FOUND ${OpenVINO_Frontend_ONNX_FOUND})
set(ngraph_onnx_importer_FOUND ${OpenVINO_Frontend_ONNX_FOUND})
set(ngraph_onnx_importer_FOUND @NGRAPH_ONNX_FRONTEND_ENABLE@)
if(ngraph_onnx_importer_FOUND)
set(ONNX_IMPORTER_LIBRARIES ngraph::onnx_ngraph_frontend)
# ngraph::onnx_importer target and variables are deprecated
@@ -83,6 +87,6 @@ if(ngraph_onnx_importer_FOUND)
endif()
endif()
set(ngraph_paddlepaddle_frontend_FOUND @NGRAPH_PDPD_FRONTEND_ENABLE@)
set(ngraph_paddlepaddle_frontend_FOUND ${OpenVINO_Frontend_PaddlePaddle_FOUND})
check_required_components(ngraph)
+2 -2
View File
@@ -169,13 +169,13 @@ You can also set attribute values using corresponding setter methods, for exampl
node.set_axis(0)
```
Currently, you can get all attributes of a node using the `_get_attributes` method. Please note that this is an internal API method and may change in future versions of OpenVINO.
Currently, you can get all attributes of a node using the `get_attributes` method.
The following code displays all attributes for all nodes in a function:
```python
for node in function.get_ordered_ops():
attributes = node._get_attributes()
attributes = node.get_attributes()
if(attributes):
print('Operation {} of type {} has attributes:'.format(node.get_friendly_name(), node.get_type_name()))
for attr, value in attributes.items():
+55 -28
View File
@@ -7,82 +7,80 @@
**Short description**: *ScatterUpdate* creates a copy of the first input tensor with updated elements specified with second and third input tensors.
**Detailed description**: *ScatterUpdate* creates a copy of the first input tensor with updated elements in positions specified with `indices` input
and values specified with `updates` tensor starting from the dimension with index `axis`. For the `data` tensor of shape `[d_0, d_1, ..., d_n]`,
`indices` tensor of shape `[i_0, i_1, ..., i_k]` and `updates` tensor of shape
`[d_0, d_1, ... d_(axis - 1), i_0, i_1, ..., i_k, d_(axis + 1), ..., d_n]` the operation computes
and values specified with `updates` tensor starting from the dimension with index `axis`. For the `data` tensor of shape \f$[d_0,\;d_1,\;\dots,\;d_n]\f$,
`indices` tensor of shape \f$[i_0,\;i_1,\;\dots,\;i_k]\f$ and `updates` tensor of shape
\f$[d_0,\;d_1,\;\dots,\;d_{axis - 1},\;i_0,\;i_1,\;\dots,\;i_k,\;d_{axis + 1},\;\dots, d_n]\f$ the operation computes
for each `m, n, ..., p` of the `indices` tensor indices:
```
data[..., indices[m, n, ..., p], ...] = updates[..., m, n, ..., p, ...]
```
where first `...` in the `data` corresponds to first `axis` dimensions, last `...` in the `data` corresponds to the
\f[data[\dots,\;indices[m,\;n,\;\dots,\;p],\;\dots] = updates[\dots,\;m,\;n,\;\dots,\;p,\;\dots]\f]
where first \f$\dots\f$ in the `data` corresponds to \f$[d_0,\;\dots,\;d_{axis - 1}]\f$ dimensions, last\f$\dots\f$ in the `data` corresponds to the
`rank(data) - (axis + 1)` dimensions.
Several examples for case when `axis = 0`:
1. `indices` is a 0D tensor: `data[indices, ...] = updates[...]`
2. `indices` is a 1D tensor (for each `i`): `data[indices[i], ...] = updates[i, ...]`
3. `indices` is a ND tensor (for each `i, ..., j`): `data[indices[i, ..., j], ...] = updates[i, ..., j, ...]`
This operation is similar to TensorFlow* operation [ScatterUpdate](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/scatter_update)
but allows scattering for the arbitrary axis.
1. `indices` is a \f$0\f$D tensor: \f$data[indices,\;\dots] = updates[\dots]\f$
2. `indices` is a \f$1\f$D tensor (\f$\forall_{i}\f$): \f$data[indices[i],\;\dots] = updates[i,\;\dots]\f$
3. `indices` is a \f$N\f$D tensor (\f$\forall_{i,\;\dots,\;j}\f$): \f$data[indices[i],\;\dots,\;j],\;\dots] = updates[i,\;\dots,\;j,\;\dots]\f$
**Attributes**: *ScatterUpdate* does not have attributes.
**Inputs**:
* **1**: `data` tensor of arbitrary rank `r` and of type *T*. **Required.**
* **1**: `data` tensor of arbitrary rank `r` and type *T_NUMERIC*. **Required.**
* **2**: `indices` tensor with indices of type *T_IND*.
All index values are expected to be within bounds `[0, s - 1]` along axis of size `s`. If multiple indices point to the
same output location then the order of updating the values is undefined. If an index points to non-existing output
tensor element or is negative then an exception is raised. **Required.**
All index values are expected to be within bounds `[0, s - 1]` along the axis of size `s`. If multiple indices point to the
same output location, the order of updating the values is undefined. If an index points to a non-existing output
tensor element or is negative, then an exception is raised. **Required.**
* **3**: `updates` tensor of type *T*. **Required.**
* **3**: `updates` tensor of type *T_NUMERIC* and rank equal to `rank(indices) + rank(data) - 1` **Required.**
* **4**: `axis` tensor with scalar or 1D tensor with one element of type *T_AXIS* specifying axis for scatter.
The value can be in range `[-r, r - 1]` where `r` is the rank of `data`. **Required.**
The value can be in the range `[ -r, r - 1]`, where `r` is the rank of `data`. **Required.**
**Outputs**:
* **1**: tensor with shape equal to `data` tensor of the type *T*.
* **1**: tensor with shape equal to `data` tensor of the type *T_NUMERIC*.
**Types**
* *T*: any numeric type.
* *T_NUMERIC*: any numeric type.
* *T_IND*: any supported integer types.
* *T_AXIS*: any supported integer types.
**Example**
**Examples**
*Example 1*
```xml
<layer ... type="ScatterUpdate">
<input>
<port id="0">
<port id="0"> <!-- data -->
<dim>1000</dim>
<dim>256</dim>
<dim>10</dim>
<dim>15</dim>
</port>
<port id="1">
<port id="1"> <!-- indices -->
<dim>125</dim>
<dim>20</dim>
</port>
<port id="2">
<port id="2"> <!-- udpates -->
<dim>1000</dim>
<dim>125</dim>
<dim>20</dim>
<dim>10</dim>
<dim>15</dim>
</port>
<port id="3"> <!-- value [1] -->
<dim>1</dim>
<port id="3"> <!-- axis -->
<dim>1</dim> <!-- value [1] -->
</port>
</input>
<output>
<port id="4" precision="FP32">
<port id="4" precision="FP32"> <!-- output -->
<dim>1000</dim>
<dim>256</dim>
<dim>10</dim>
@@ -91,3 +89,32 @@ The value can be in range `[-r, r - 1]` where `r` is the rank of `data`. **Requi
</output>
</layer>
```
*Example 2*
```xml
<layer ... type="ScatterUpdate">
<input>
<port id="0"> <!-- data -->
<dim>3</dim> <!-- {{-1.0f, 1.0f, -1.0f, 3.0f, 4.0f}, -->
<dim>5</dim> <!-- {-1.0f, 6.0f, -1.0f, 8.0f, 9.0f}, -->
</port> <!-- {-1.0f, 11.0f, 1.0f, 13.0f, 14.0f}} -->
<port id="1"> <!-- indices -->
<dim>2</dim> <!-- {0, 2} -->
</port>
<port id="2"> <!-- udpates -->
<dim>3</dim> <!-- {1.0f, 1.0f} -->
<dim>2</dim> <!-- {1.0f, 1.0f} -->
</port> <!-- {1.0f, 2.0f} -->
<port id="3"> <!-- axis -->
<dim>1</dim> <!-- {1} -->
</port>
</input>
<output>
<port id="4"> <!-- output -->
<dim>3</dim> <!-- {{1.0f, 1.0f, 1.0f, 3.0f, 4.0f}, -->
<dim>5</dim> <!-- {1.0f, 6.0f, 1.0f, 8.0f, 9.0f}, -->
</port> <!-- {1.0f, 11.0f, 2.0f, 13.0f, 14.0f}} -->
</output>
</layer>
```
@@ -26,9 +26,6 @@ ie_add_vs_version_file(NAME ${TARGET_NAME}
# export
export(TARGETS ${TARGET_NAME} NAMESPACE IE::
APPEND FILE "${CMAKE_BINARY_DIR}/InferenceEngineTargets.cmake")
set_target_properties(${TARGET_NAME} PROPERTIES EXPORT_NAME runtime::c)
export(TARGETS ${TARGET_NAME} NAMESPACE openvino::
APPEND FILE "${CMAKE_BINARY_DIR}/OpenVINOTargets.cmake")
@@ -38,12 +35,6 @@ export(TARGETS ${TARGET_NAME} NAMESPACE openvino::
ie_cpack_add_component(core_c DEPENDS core)
ie_cpack_add_component(core_c_dev DEPENDS core_c)
install(TARGETS ${TARGET_NAME} EXPORT InferenceEngineTargets
RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core_c
ARCHIVE DESTINATION ${IE_CPACK_ARCHIVE_PATH} COMPONENT core_c
LIBRARY DESTINATION ${IE_CPACK_LIBRARY_PATH} COMPONENT core_c
INCLUDES DESTINATION ${IE_CPACK_IE_DIR}/include/ie)
install(TARGETS ${TARGET_NAME} EXPORT OpenVINOTargets
RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core_c
ARCHIVE DESTINATION ${IE_CPACK_ARCHIVE_PATH} COMPONENT core_c
@@ -223,9 +223,6 @@ set_target_properties(${TARGET_NAME} ${TARGET_NAME}_obj ${TARGET_NAME}_s
# Export for build tree
export(TARGETS ${TARGET_NAME} NAMESPACE IE::
APPEND FILE "${CMAKE_BINARY_DIR}/InferenceEngineTargets.cmake")
export(TARGETS ${TARGET_NAME} NAMESPACE openvino::
APPEND FILE "${CMAKE_BINARY_DIR}/OpenVINOTargets.cmake")
@@ -281,12 +278,6 @@ ie_cpack_add_component(core_dev REQUIRED core ngraph_dev)
install(DIRECTORY "${PUBLIC_HEADERS_DIR}" DESTINATION ${IE_CPACK_IE_DIR}
COMPONENT core_dev)
install(TARGETS ${TARGET_NAME} EXPORT InferenceEngineTargets
RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core
ARCHIVE DESTINATION ${IE_CPACK_ARCHIVE_PATH} COMPONENT core
LIBRARY DESTINATION ${IE_CPACK_LIBRARY_PATH} COMPONENT core
INCLUDES DESTINATION ${IE_CPACK_IE_DIR}/include/ie)
set_target_properties(${TARGET_NAME} PROPERTIES EXPORT_NAME runtime)
install(TARGETS ${TARGET_NAME} EXPORT OpenVINOTargets
RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core
@@ -311,12 +302,6 @@ endif()
# Install cmake scripts
install(EXPORT InferenceEngineTargets
FILE InferenceEngineTargets.cmake
NAMESPACE IE::
DESTINATION ${IE_CPACK_IE_DIR}/share
COMPONENT core_dev)
install(EXPORT OpenVINOTargets
FILE OpenVINOTargets.cmake
NAMESPACE openvino::
@@ -49,19 +49,7 @@ openvino_developer_export_targets(COMPONENT inference_engine TARGETS ${TARGET_NA
# install
install(TARGETS ${TARGET_NAME} EXPORT InferenceEngineTargets
RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core
ARCHIVE DESTINATION ${IE_CPACK_ARCHIVE_PATH} COMPONENT core
LIBRARY DESTINATION ${IE_CPACK_LIBRARY_PATH} COMPONENT core)
install(TARGETS ${TARGET_NAME} EXPORT OpenVINOTargets
RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core
ARCHIVE DESTINATION ${IE_CPACK_ARCHIVE_PATH} COMPONENT core
LIBRARY DESTINATION ${IE_CPACK_LIBRARY_PATH} COMPONENT core)
# because inference_engine_transformations is exported in multiple export list
# it needs to be exported in each list it's used
install(TARGETS ${TARGET_NAME} EXPORT ngraphTargets
RUNTIME DESTINATION ${IE_CPACK_RUNTIME_PATH} COMPONENT core
ARCHIVE DESTINATION ${IE_CPACK_ARCHIVE_PATH} COMPONENT core
LIBRARY DESTINATION ${IE_CPACK_LIBRARY_PATH} COMPONENT core)
@@ -31,7 +31,7 @@ class AddTransformation :
public testing::WithParamInterface<AddTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<AddTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<AddTransformationParams>& obj);
protected:
void SetUp() override;
@@ -29,7 +29,7 @@ class ClampTransformation :
public testing::WithParamInterface<ClampTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ClampTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ClampTransformationParams>& obj);
protected:
void SetUp() override;
};
@@ -28,7 +28,7 @@ class ConcatTransformation :
public testing::WithParamInterface<ConcatTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ConcatTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ConcatTransformationParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo &info) const override;
protected:
@@ -29,7 +29,7 @@ class ConcatWithChildAndOutputTransformation :
public testing::WithParamInterface<ConcatWithChildAndOutputTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ConcatWithChildAndOutputTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ConcatWithChildAndOutputTransformationParams>& obj);
protected:
void SetUp() override;
@@ -30,7 +30,7 @@ class ConcatWithDifferentChildrenTransformation :
public testing::WithParamInterface<ConcatWithDifferentChildrenTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ConcatWithDifferentChildrenTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ConcatWithDifferentChildrenTransformationParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo &info) const override;
protected:
@@ -24,7 +24,7 @@ class ConcatWithIntermediateTransformation :
public testing::WithParamInterface<ConcatWithIntermediateTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ConcatWithIntermediateTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ConcatWithIntermediateTransformationParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
protected:
@@ -21,7 +21,7 @@ class ConcatWithNeighborsGraphTransformation :
public testing::WithParamInterface<ConcatNeighboringGraphTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ConcatNeighboringGraphTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ConcatNeighboringGraphTransformationParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
protected:
@@ -28,7 +28,7 @@ class ConcatWithSplitTransformation :
public testing::WithParamInterface<ConcatWithSplitTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ConcatWithSplitTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ConcatWithSplitTransformationParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo &info) const override;
protected:
@@ -54,7 +54,7 @@ class ConvolutionBackpropDataTransformation :
public testing::WithParamInterface<ConvolutionBackpropDataTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ConvolutionBackpropDataTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ConvolutionBackpropDataTransformationParams>& obj);
protected:
void SetUp() override;
@@ -57,7 +57,7 @@ class ConvolutionQDqTransformation :
public testing::WithParamInterface<ConvolutionQDqTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ConvolutionQDqTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ConvolutionQDqTransformationParams>& obj);
protected:
void SetUp() override;
@@ -35,7 +35,7 @@ class ConvolutionTransformation :
public testing::WithParamInterface<ConvolutionTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ConvolutionTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ConvolutionTransformationParams>& obj);
protected:
void SetUp() override;
@@ -32,7 +32,7 @@ class ConvolutionWIthIncorrectWeightsTransformation :
public testing::WithParamInterface<ConvolutionWIthIncorrectWeightsParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ConvolutionWIthIncorrectWeightsParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ConvolutionWIthIncorrectWeightsParams>& obj);
protected:
void SetUp() override;
@@ -22,7 +22,7 @@ class DepthToSpaceTransformation :
public testing::WithParamInterface<DepthToSpaceTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<DepthToSpaceTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<DepthToSpaceTransformationParams>& obj);
protected:
void SetUp() override;
@@ -23,7 +23,7 @@ class FakeQuantizeAndAvgPoolTransformation :
public testing::WithParamInterface<FakeQuantizeAndAvgPoolTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<FakeQuantizeAndAvgPoolTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<FakeQuantizeAndAvgPoolTransformationParams>& obj);
protected:
void SetUp() override;
@@ -23,7 +23,7 @@ class FakeQuantizeAndMaxPoolTransformation :
public testing::WithParamInterface<FakeQuantizeAndMaxPoolTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<FakeQuantizeAndMaxPoolTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<FakeQuantizeAndMaxPoolTransformationParams>& obj);
protected:
void SetUp() override;
@@ -32,7 +32,7 @@ class FakeQuantizeAndTwoOutputBranchesWithConvolutionTransformation :
public testing::WithParamInterface<FakeQuantizeAndTwoOutputBranchesWithConvolutionParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<FakeQuantizeAndTwoOutputBranchesWithConvolutionParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<FakeQuantizeAndTwoOutputBranchesWithConvolutionParams>& obj);
protected:
void SetUp() override;
@@ -59,7 +59,7 @@ class FakeQuantizePrecisionSelectionTransformation :
public testing::WithParamInterface<FakeQuantizeTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<FakeQuantizeTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<FakeQuantizeTransformationParams>& obj);
protected:
void SetUp() override;
@@ -29,7 +29,7 @@ class FakeQuantizeTransformation :
public testing::WithParamInterface<FakeQuantizeTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<FakeQuantizeTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<FakeQuantizeTransformationParams>& obj);
protected:
void SetUp() override;
@@ -59,7 +59,7 @@ class FakeQuantizeWithNotOptimalTransformation :
public testing::WithParamInterface<FakeQuantizeTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<FakeQuantizeTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<FakeQuantizeTransformationParams>& obj);
protected:
void SetUp() override;
@@ -29,7 +29,7 @@ class FullyConnectedTransformation :
public testing::WithParamInterface<FullyConnectedTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<FullyConnectedTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<FullyConnectedTransformationParams>& obj);
protected:
void SetUp() override;
@@ -26,7 +26,7 @@ class FuseConvertTransformation :
public testing::WithParamInterface<FuseConvertTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<FuseConvertTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<FuseConvertTransformationParams>& obj);
protected:
void SetUp() override;
@@ -22,7 +22,7 @@ class FuseFakeQuantizeAndScaleShiftTransformation :
public testing::WithParamInterface<FuseFakeQuantizeAndScaleShiftTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<FuseFakeQuantizeAndScaleShiftTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<FuseFakeQuantizeAndScaleShiftTransformationParams>& obj);
protected:
void SetUp() override;
@@ -39,7 +39,7 @@ class FuseFakeQuantizeTransformation :
public testing::WithParamInterface<FuseFakeQuantizeTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<FuseFakeQuantizeTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<FuseFakeQuantizeTransformationParams>& obj);
protected:
void SetUp() override;
@@ -35,7 +35,7 @@ class FuseMultiplyToFakeQuantizeTransformation :
public testing::WithParamInterface<FuseMultiplyToFakeQuantizeTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<FuseMultiplyToFakeQuantizeTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<FuseMultiplyToFakeQuantizeTransformationParams>& obj);
protected:
void SetUp() override;
@@ -35,7 +35,7 @@ class FuseSubtractToFakeQuantizeTransformation :
public testing::WithParamInterface<FuseSubtractToFakeQuantizeTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<FuseSubtractToFakeQuantizeTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<FuseSubtractToFakeQuantizeTransformationParams>& obj);
protected:
void SetUp() override;
@@ -22,7 +22,7 @@ class GemmTransformation :
public testing::WithParamInterface<GemmTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<GemmTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<GemmTransformationParams>& obj);
protected:
void SetUp() override;
@@ -37,7 +37,7 @@ class GroupConvolutionTransformation :
public testing::WithParamInterface<GroupConvolutionTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<GroupConvolutionTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<GroupConvolutionTransformationParams>& obj);
protected:
void SetUp() override;
@@ -61,7 +61,7 @@ class GroupConvolutionQDqTransformation :
public testing::WithParamInterface<GroupConvolutionQDqTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<GroupConvolutionQDqTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<GroupConvolutionQDqTransformationParams>& obj);
protected:
void SetUp() override;
@@ -45,7 +45,7 @@ class InterpolateTransformation :
public testing::WithParamInterface<InterpolateTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<InterpolateTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<InterpolateTransformationParams>& obj);
protected:
void SetUp() override;
@@ -33,7 +33,7 @@ class MatMulTransformation :
public testing::WithParamInterface<MatMulTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<MatMulTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<MatMulTransformationParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo &info) const override;
protected:
@@ -39,7 +39,7 @@ class MatMulWithConstantTransformation :
public testing::WithParamInterface<MatMulWithConstantTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<MatMulWithConstantTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<MatMulWithConstantTransformationParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo &info) const override;
protected:
@@ -29,7 +29,7 @@ class MatMulWithOptimizedConstantFakeQuantizeTransformation :
public testing::WithParamInterface<MatMulWithOptimizedConstantFakeQuantizeTransformationTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<MatMulWithOptimizedConstantFakeQuantizeTransformationTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<MatMulWithOptimizedConstantFakeQuantizeTransformationTransformationParams>& obj);
protected:
void SetUp() override;
@@ -34,7 +34,7 @@ class MultiplyToGroupConvolutionTransformation :
public testing::WithParamInterface<MultiplyToGroupConvolutionTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<MultiplyToGroupConvolutionTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<MultiplyToGroupConvolutionTransformationParams>& obj);
protected:
void SetUp() override;
@@ -32,7 +32,7 @@ class MultiplyTransformation :
public testing::WithParamInterface<MultiplyTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<MultiplyTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<MultiplyTransformationParams>& obj);
protected:
void SetUp() override;
@@ -28,7 +28,7 @@ class MultiplyWithOneParentTransformation :
public testing::WithParamInterface<MultiplyWithOneParentTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<MultiplyWithOneParentTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<MultiplyWithOneParentTransformationParams>& obj);
protected:
void SetUp() override;
@@ -25,7 +25,7 @@ class MVNTransformation :
public testing::WithParamInterface<MVNTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<MVNTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<MVNTransformationParams>& obj);
protected:
void SetUp() override;
@@ -24,7 +24,7 @@ class NormalizeL2Transformation :
public testing::WithParamInterface<NormalizeL2TransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<NormalizeL2TransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<NormalizeL2TransformationParams>& obj);
protected:
void SetUp() override;
@@ -15,7 +15,7 @@ class OutputLayersHandlingInTransformations :
public testing::WithParamInterface<LayerTestsUtils::LayerTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<LayerTestsUtils::LayerTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<LayerTestsUtils::LayerTransformationParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo &info) const override;
protected:
@@ -15,7 +15,7 @@ class OutputLayersHandlingInTransformationsForConcat :
public testing::WithParamInterface<LayerTestsUtils::LayerTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<LayerTestsUtils::LayerTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<LayerTestsUtils::LayerTransformationParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo &info) const override;
protected:
@@ -22,7 +22,7 @@ class OutputLayersHandlingInTransformationsForConcatMultiChannel :
public testing::WithParamInterface<LayerTestsUtils::LayerTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<LayerTestsUtils::LayerTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<LayerTestsUtils::LayerTransformationParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo &info) const override;
protected:
@@ -31,7 +31,7 @@ class PadTransformation :
public testing::WithParamInterface<PadTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<PadTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<PadTransformationParams>& obj);
protected:
void SetUp() override;
@@ -27,7 +27,7 @@ class PReluTransformation :
public testing::WithParamInterface<PReluTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<PReluTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<PReluTransformationParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo &info) const override;
protected:
@@ -46,7 +46,7 @@ class PullReshapeThroughDequantizationTransformation :
public testing::WithParamInterface<PullReshapeThroughDequantizationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<PullReshapeThroughDequantizationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<PullReshapeThroughDequantizationParams>& obj);
protected:
void SetUp() override;
@@ -30,7 +30,7 @@ class ReduceMaxTransformation :
public testing::WithParamInterface<ReduceMaxTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ReduceMaxTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ReduceMaxTransformationParams>& obj);
protected:
void SetUp() override;
@@ -29,7 +29,7 @@ class ReduceMeanTransformation :
public testing::WithParamInterface<ReduceMeanTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ReduceMeanTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ReduceMeanTransformationParams>& obj);
protected:
void SetUp() override;
@@ -30,7 +30,7 @@ class ReduceMinTransformation :
public testing::WithParamInterface<ReduceMinTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ReduceMinTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ReduceMinTransformationParams>& obj);
protected:
void SetUp() override;
@@ -30,7 +30,7 @@ class ReduceSumTransformation :
public testing::WithParamInterface<ReduceSumTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ReduceSumTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ReduceSumTransformationParams>& obj);
protected:
void SetUp() override;
@@ -27,7 +27,7 @@ class ReluTransformation :
public testing::WithParamInterface<ReluTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ReluTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ReluTransformationParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo &info) const override;
protected:
@@ -32,7 +32,7 @@ class ReshapeTransformation :
public testing::WithParamInterface<ReshapeTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ReshapeTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ReshapeTransformationParams>& obj);
protected:
void SetUp() override;
@@ -33,7 +33,7 @@ class ShuffleChannelsTransformation :
public testing::WithParamInterface<ShuffleChannelsTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<ShuffleChannelsTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<ShuffleChannelsTransformationParams>& obj);
protected:
void SetUp() override;
@@ -27,7 +27,7 @@ class SplitTransformation :
public testing::WithParamInterface<SplitTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<SplitTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<SplitTransformationParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
protected:
void SetUp() override;
@@ -33,7 +33,7 @@ class SqueezeTransformation :
public LayerTestsUtils::LayerTransformation {
public:
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
static std::string getTestCaseName(testing::TestParamInfo<SqueezeTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<SqueezeTransformationParams>& obj);
protected:
void SetUp() override;
@@ -34,7 +34,7 @@ class StridedSliceTransformation :
public testing::WithParamInterface<StridedSliceTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<StridedSliceTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<StridedSliceTransformationParams>& obj);
protected:
void SetUp() override;
@@ -27,7 +27,7 @@ class SubtractMultiplyToMultiplyAddTransformation :
public testing::WithParamInterface<SubtractMultiplyToMultiplyAddTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<SubtractMultiplyToMultiplyAddTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<SubtractMultiplyToMultiplyAddTransformationParams>& obj);
protected:
void SetUp() override;
@@ -22,7 +22,7 @@ class SubtractTransformation :
public testing::WithParamInterface<SubtractTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<SubtractTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<SubtractTransformationParams>& obj);
protected:
void SetUp() override;
@@ -23,7 +23,7 @@ class TransposeAfterMatMulTransformation :
public testing::WithParamInterface<TransposeAfterMatMulTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<TransposeAfterMatMulTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<TransposeAfterMatMulTransformationParams>& obj);
protected:
void SetUp() override;
@@ -30,7 +30,7 @@ class TransposeTransformation :
public testing::WithParamInterface<TransposeTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<TransposeTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<TransposeTransformationParams>& obj);
protected:
void SetUp() override;
@@ -31,7 +31,7 @@ class UnsqueezeTransformation :
public LayerTestsUtils::LayerTransformation {
public:
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
static std::string getTestCaseName(testing::TestParamInfo<UnsqueezeTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<UnsqueezeTransformationParams>& obj);
protected:
void SetUp() override;
@@ -27,7 +27,7 @@ class VariadicSplitTransformation :
public testing::WithParamInterface<VariadicSplitTransformationParams>,
public LayerTestsUtils::LayerTransformation {
public:
static std::string getTestCaseName(testing::TestParamInfo<VariadicSplitTransformationParams> obj);
static std::string getTestCaseName(const testing::TestParamInfo<VariadicSplitTransformationParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
protected:
void SetUp() override;
@@ -16,7 +16,7 @@
namespace LayerTestsDefinitions {
std::string AddTransformation::getTestCaseName(testing::TestParamInfo< AddTransformationParams> obj) {
std::string AddTransformation::getTestCaseName(const testing::TestParamInfo< AddTransformationParams>& obj) {
ngraph::element::Type netPrecision;
ngraph::PartialShape inputShapes;
std::string targetDevice;
@@ -12,7 +12,7 @@
namespace LayerTestsDefinitions {
std::string ClampTransformation::getTestCaseName(testing::TestParamInfo<ClampTransformationParams> obj) {
std::string ClampTransformation::getTestCaseName(const testing::TestParamInfo<ClampTransformationParams>& obj) {
ngraph::element::Type netPrecision;
ngraph::PartialShape inputShape;
std::string targetDevice;
@@ -16,7 +16,7 @@
namespace LayerTestsDefinitions {
std::string ConcatTransformation::getTestCaseName(testing::TestParamInfo<ConcatTransformationParams> obj) {
std::string ConcatTransformation::getTestCaseName(const testing::TestParamInfo<ConcatTransformationParams>& obj) {
ngraph::element::Type precision;
ngraph::PartialShape inputShapes;
std::string targetDevice;
@@ -19,7 +19,7 @@ using namespace InferenceEngine::details;
namespace LayerTestsDefinitions {
std::string ConcatWithChildAndOutputTransformation::getTestCaseName(testing::TestParamInfo<ConcatWithChildAndOutputTransformationParams> obj) {
std::string ConcatWithChildAndOutputTransformation::getTestCaseName(const testing::TestParamInfo<ConcatWithChildAndOutputTransformationParams>& obj) {
ngraph::element::Type netPrecision;
ngraph::PartialShape inputShapes;
std::string targetDevice;
@@ -19,7 +19,7 @@ using namespace InferenceEngine::details;
namespace LayerTestsDefinitions {
std::string ConcatWithDifferentChildrenTransformation::getTestCaseName(testing::TestParamInfo<ConcatWithDifferentChildrenTransformationParams> obj) {
std::string ConcatWithDifferentChildrenTransformation::getTestCaseName(const testing::TestParamInfo<ConcatWithDifferentChildrenTransformationParams>& obj) {
ngraph::element::Type netPrecision;
ngraph::PartialShape inputShapes;
std::string targetDevice;
@@ -19,7 +19,7 @@ using namespace InferenceEngine::details;
namespace LayerTestsDefinitions {
std::string ConcatWithIntermediateTransformation::getTestCaseName(testing::TestParamInfo<ConcatWithIntermediateTransformationParams> obj) {
std::string ConcatWithIntermediateTransformation::getTestCaseName(const testing::TestParamInfo<ConcatWithIntermediateTransformationParams>& obj) {
ngraph::element::Type netPrecision;
ngraph::PartialShape inputShapes;
std::string targetDevice;
@@ -16,7 +16,7 @@
namespace LayerTestsDefinitions {
std::string ConcatWithNeighborsGraphTransformation::getTestCaseName(testing::TestParamInfo<ConcatNeighboringGraphTransformationParams> obj) {
std::string ConcatWithNeighborsGraphTransformation::getTestCaseName(const testing::TestParamInfo<ConcatNeighboringGraphTransformationParams>& obj) {
ngraph::element::Type precision;
ngraph::PartialShape inputShapes;
std::string targetDevice;
@@ -19,7 +19,7 @@ using namespace InferenceEngine::details;
namespace LayerTestsDefinitions {
std::string ConcatWithSplitTransformation::getTestCaseName(testing::TestParamInfo<ConcatWithSplitTransformationParams> obj) {
std::string ConcatWithSplitTransformation::getTestCaseName(const testing::TestParamInfo<ConcatWithSplitTransformationParams>& obj) {
ngraph::element::Type netPrecision;
ngraph::PartialShape inputShapes;
std::string targetDevice;
@@ -12,7 +12,7 @@
namespace LayerTestsDefinitions {
std::string ConvolutionBackpropDataTransformation::getTestCaseName(testing::TestParamInfo<ConvolutionBackpropDataTransformationParams> obj) {
std::string ConvolutionBackpropDataTransformation::getTestCaseName(const testing::TestParamInfo<ConvolutionBackpropDataTransformationParams>& obj) {
ngraph::element::Type netPrecision;
std::pair<ngraph::PartialShape, bool> inputShape;
ngraph::Shape outputShape;
@@ -20,7 +20,7 @@
namespace LayerTestsDefinitions {
std::string ConvolutionQDqTransformation::getTestCaseName(testing::TestParamInfo<ConvolutionQDqTransformationParams> obj) {
std::string ConvolutionQDqTransformation::getTestCaseName(const testing::TestParamInfo<ConvolutionQDqTransformationParams>& obj) {
ngraph::element::Type netPrecision;
ngraph::PartialShape inputShape;
std::string targetDevice;
@@ -20,7 +20,7 @@
namespace LayerTestsDefinitions {
std::string ConvolutionTransformation::getTestCaseName(testing::TestParamInfo<ConvolutionTransformationParams> obj) {
std::string ConvolutionTransformation::getTestCaseName(const testing::TestParamInfo<ConvolutionTransformationParams>& obj) {
ngraph::element::Type netPrecision;
ngraph::PartialShape inputShape;
std::string targetDevice;
@@ -20,7 +20,7 @@
namespace LayerTestsDefinitions {
std::string ConvolutionWIthIncorrectWeightsTransformation::getTestCaseName(testing::TestParamInfo<ConvolutionWIthIncorrectWeightsParams> obj) {
std::string ConvolutionWIthIncorrectWeightsTransformation::getTestCaseName(const testing::TestParamInfo<ConvolutionWIthIncorrectWeightsParams>& obj) {
ngraph::element::Type netPrecision;
ngraph::PartialShape inputShape;
std::string targetDevice;
@@ -32,7 +32,7 @@ using namespace ngraph::opset1;
namespace LayerTestsDefinitions {
std::string DepthToSpaceTransformation::getTestCaseName(testing::TestParamInfo<DepthToSpaceTransformationParams> obj) {
std::string DepthToSpaceTransformation::getTestCaseName(const testing::TestParamInfo<DepthToSpaceTransformationParams>& obj) {
static std::map<DepthToSpace::DepthToSpaceMode, std::string> names = {
{DepthToSpace::DepthToSpaceMode::BLOCKS_FIRST, "BLOCKS_FIRST"},
{DepthToSpace::DepthToSpaceMode::DEPTH_FIRST, "DEPTH_FIRST"},
@@ -16,7 +16,7 @@
namespace LayerTestsDefinitions {
std::string FakeQuantizeAndAvgPoolTransformation::getTestCaseName(testing::TestParamInfo<FakeQuantizeAndAvgPoolTransformationParams> obj) {
std::string FakeQuantizeAndAvgPoolTransformation::getTestCaseName(const testing::TestParamInfo<FakeQuantizeAndAvgPoolTransformationParams>& obj) {
ngraph::element::Type precision;
ngraph::PartialShape inputShapes;
std::string targetDevice;
@@ -16,7 +16,7 @@
namespace LayerTestsDefinitions {
std::string FakeQuantizeAndMaxPoolTransformation::getTestCaseName(testing::TestParamInfo<FakeQuantizeAndMaxPoolTransformationParams> obj) {
std::string FakeQuantizeAndMaxPoolTransformation::getTestCaseName(const testing::TestParamInfo<FakeQuantizeAndMaxPoolTransformationParams>& obj) {
ngraph::element::Type precision;
ngraph::PartialShape inputShapes;
std::string targetDevice;
@@ -20,7 +20,7 @@
namespace LayerTestsDefinitions {
std::string FakeQuantizeAndTwoOutputBranchesWithConvolutionTransformation::getTestCaseName(
testing::TestParamInfo<FakeQuantizeAndTwoOutputBranchesWithConvolutionParams> obj) {
const testing::TestParamInfo<FakeQuantizeAndTwoOutputBranchesWithConvolutionParams>& obj) {
ngraph::element::Type netPrecision;
ngraph::PartialShape inputShape;
std::string targetDevice;
@@ -15,7 +15,7 @@
namespace LayerTestsDefinitions {
std::string FakeQuantizePrecisionSelectionTransformation::getTestCaseName(testing::TestParamInfo<FakeQuantizeTransformationParams> obj) {
std::string FakeQuantizePrecisionSelectionTransformation::getTestCaseName(const testing::TestParamInfo<FakeQuantizeTransformationParams>& obj) {
ngraph::element::Type netPrecision;
ngraph::PartialShape inputShape;
std::string targetDevice;
@@ -17,7 +17,7 @@
namespace LayerTestsDefinitions {
std::string FakeQuantizeTransformation::getTestCaseName(testing::TestParamInfo<FakeQuantizeTransformationParams> obj) {
std::string FakeQuantizeTransformation::getTestCaseName(const testing::TestParamInfo<FakeQuantizeTransformationParams>& obj) {
ngraph::element::Type netPrecision;
ngraph::PartialShape inputShape;
std::string targetDevice;
@@ -15,7 +15,7 @@
namespace LayerTestsDefinitions {
std::string FakeQuantizeWithNotOptimalTransformation::getTestCaseName(testing::TestParamInfo<FakeQuantizeTransformationParams> obj) {
std::string FakeQuantizeWithNotOptimalTransformation::getTestCaseName(const testing::TestParamInfo<FakeQuantizeTransformationParams>& obj) {
ngraph::element::Type netPrecision;
ngraph::PartialShape inputShapes;
std::string targetDevice;
@@ -21,7 +21,7 @@
namespace LayerTestsDefinitions {
std::string FullyConnectedTransformation::getTestCaseName(testing::TestParamInfo<FullyConnectedTransformationParams> obj) {
std::string FullyConnectedTransformation::getTestCaseName(const testing::TestParamInfo<FullyConnectedTransformationParams>& obj) {
ngraph::element::Type precision;
MatMulShapes shapes;
std::string targetDevice;
@@ -21,7 +21,7 @@
namespace LayerTestsDefinitions {
std::string FuseConvertTransformation::getTestCaseName(testing::TestParamInfo<FuseConvertTransformationParams> obj) {
std::string FuseConvertTransformation::getTestCaseName(const testing::TestParamInfo<FuseConvertTransformationParams>& obj) {
std::string targetDevice;
ngraph::PartialShape shape;
ngraph::element::Type precision;
@@ -14,7 +14,7 @@
namespace LayerTestsDefinitions {
std::string FuseFakeQuantizeAndScaleShiftTransformation::getTestCaseName(testing::TestParamInfo<FuseFakeQuantizeAndScaleShiftTransformationParams> obj) {
std::string FuseFakeQuantizeAndScaleShiftTransformation::getTestCaseName(const testing::TestParamInfo<FuseFakeQuantizeAndScaleShiftTransformationParams>& obj) {
ngraph::element::Type netPrecision;
ngraph::PartialShape inputShape;
std::string targetDevice;
@@ -14,7 +14,7 @@
namespace LayerTestsDefinitions {
std::string FuseFakeQuantizeTransformation::getTestCaseName(testing::TestParamInfo<FuseFakeQuantizeTransformationParams> obj) {
std::string FuseFakeQuantizeTransformation::getTestCaseName(const testing::TestParamInfo<FuseFakeQuantizeTransformationParams>& obj) {
std::string targetDevice;
FuseFakeQuantizeTransformationTestValues testValues;
std::tie(targetDevice, testValues) = obj.param;
@@ -14,7 +14,7 @@
namespace LayerTestsDefinitions {
std::string FuseMultiplyToFakeQuantizeTransformation::getTestCaseName(testing::TestParamInfo<FuseMultiplyToFakeQuantizeTransformationParams> obj) {
std::string FuseMultiplyToFakeQuantizeTransformation::getTestCaseName(const testing::TestParamInfo<FuseMultiplyToFakeQuantizeTransformationParams>& obj) {
std::string targetDevice;
FuseMultiplyToFakeQuantizeTransformationTestValues testValues;
std::tie(targetDevice, testValues) = obj.param;
@@ -14,7 +14,7 @@
namespace LayerTestsDefinitions {
std::string FuseSubtractToFakeQuantizeTransformation::getTestCaseName(testing::TestParamInfo<FuseSubtractToFakeQuantizeTransformationParams> obj) {
std::string FuseSubtractToFakeQuantizeTransformation::getTestCaseName(const testing::TestParamInfo<FuseSubtractToFakeQuantizeTransformationParams>& obj) {
std::string targetDevice;
FuseSubtractToFakeQuantizeTransformationTestValues testValues;
std::tie(targetDevice, testValues) = obj.param;
@@ -21,7 +21,7 @@
namespace LayerTestsDefinitions {
std::string GemmTransformation::getTestCaseName(testing::TestParamInfo<GemmTransformationParams> obj) {
std::string GemmTransformation::getTestCaseName(const testing::TestParamInfo<GemmTransformationParams>& obj) {
ngraph::element::Type netPrecision;
ngraph::PartialShape inputShape;
std::string targetDevice;
@@ -20,7 +20,7 @@
namespace LayerTestsDefinitions {
std::string GroupConvolutionTransformation::getTestCaseName(testing::TestParamInfo<GroupConvolutionTransformationParams> obj) {
std::string GroupConvolutionTransformation::getTestCaseName(const testing::TestParamInfo<GroupConvolutionTransformationParams>& obj) {
ngraph::element::Type netPrecision;
std::string targetDevice;
ngraph::pass::low_precision::LayerTransformation::Params params;
@@ -20,7 +20,7 @@
namespace LayerTestsDefinitions {
std::string GroupConvolutionQDqTransformation::getTestCaseName(testing::TestParamInfo<GroupConvolutionQDqTransformationParams> obj) {
std::string GroupConvolutionQDqTransformation::getTestCaseName(const testing::TestParamInfo<GroupConvolutionQDqTransformationParams>& obj) {
ngraph::element::Type netPrecision;
ngraph::PartialShape inputShape;
std::string targetDevice;
@@ -28,7 +28,7 @@ inline std::ostream& operator<<(std::ostream& os, const std::vector<T>& values)
return os;
}
std::string InterpolateTransformation::getTestCaseName(testing::TestParamInfo<InterpolateTransformationParams> obj) {
std::string InterpolateTransformation::getTestCaseName(const testing::TestParamInfo<InterpolateTransformationParams>& obj) {
ngraph::element::Type precision;
std::pair<ngraph::PartialShape, ngraph::Shape> shapes;
std::string targetDevice;
@@ -19,7 +19,7 @@
namespace LayerTestsDefinitions {
std::string MatMulTransformation::getTestCaseName(testing::TestParamInfo<MatMulTransformationParams> obj) {
std::string MatMulTransformation::getTestCaseName(const testing::TestParamInfo<MatMulTransformationParams>& obj) {
ngraph::element::Type precision;
ngraph::PartialShape inputShape;
std::string targetDevice;
@@ -19,7 +19,7 @@
namespace LayerTestsDefinitions {
std::string MatMulWithConstantTransformation::getTestCaseName(testing::TestParamInfo<MatMulWithConstantTransformationParams> obj) {
std::string MatMulWithConstantTransformation::getTestCaseName(const testing::TestParamInfo<MatMulWithConstantTransformationParams>& obj) {
ngraph::element::Type precision;
std::string targetDevice;
MatMulWithConstantTransformationTestValues testValues;
@@ -21,7 +21,7 @@
namespace LayerTestsDefinitions {
std::string MatMulWithOptimizedConstantFakeQuantizeTransformation::getTestCaseName(
testing::TestParamInfo<MatMulWithOptimizedConstantFakeQuantizeTransformationTransformationParams> obj) {
const testing::TestParamInfo<MatMulWithOptimizedConstantFakeQuantizeTransformationTransformationParams>& obj) {
ngraph::element::Type netPrecision;
std::pair<ngraph::PartialShape, ngraph::PartialShape> shapes;
std::string targetDevice;
Loaded 100 of 223 files, more files were not shown because too many files have changed in this diff. Show more