Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Es/lpt/lpt to ngraph wa removal matmul #5

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
cf24765
Adjust common transformation flow to adopt to LPT
slyalin Aug 14, 2020
4569bef
Merge from master
slyalin Aug 14, 2020
845e749
Add missing CF before LinOp optimization
slyalin Aug 14, 2020
bb91deb
Merge from master
slyalin Aug 14, 2020
eef6e45
Removed accidentally committed file
slyalin Aug 14, 2020
56c79c8
Merge from master
slyalin Aug 17, 2020
2842682
Merge from master
slyalin Aug 18, 2020
cdedc4a
added check to avoid IR generation in case of wrong input shape (#2127)
sadolini Sep 16, 2020
d590144
[PP GAPI] Addded tests to cover exisiting precision conversions done …
anton-potapov Sep 16, 2020
18521f2
[VPU] Fix K propagation through Reshape (#2184)
andreybakalin97 Sep 16, 2020
339cd5e
[IE][VPU]: update firmware 1378 (#2182)
Sep 16, 2020
83e9689
Revert "[IE TESTS] dynavic batch for mvn layer (#1010)" (#2257)
dmitry-gorokhov Sep 16, 2020
ce9c171
Fixed KW warning and review issues (#2263)
ilyachur Sep 16, 2020
fe49d57
update OpenCV version to 4.5.0 (#2254)
Sep 16, 2020
1337997
Test refactor (#2225)
pszmel Sep 16, 2020
12abb2e
[IE TESTS] CoreThreading_LoadNetwork tests were disabled for GPU plug…
iefode Sep 16, 2020
1e5edf8
Statically analyzed issues. (#2274)
nshchego Sep 16, 2020
5e4377b
[CPU] RNN layer. Blobs precision validation. (#2223)
nshchego Sep 16, 2020
304c372
Clone a specific tag for pybind11 (#2297)
Sep 16, 2020
6b9376e
Reverting devicePriorities to be vector and respect the order, as opp…
myshevts Sep 17, 2020
379158f
Move PriorBox to PriorBoxIE transformation from CommonOptimization pa…
itikhono Sep 17, 2020
e35b720
Fix time_tests gcc 4.8.5 build error (#2208)
Sep 17, 2020
34636ba
Default Infer leads to correct infer request state (#1562)
apankratovantonp Sep 17, 2020
383152d
Fix TimeTests build and README (#2275)
vurusovs Sep 17, 2020
dbf8fbf
Fixed c samples build (#2278)
mryzhov Sep 17, 2020
f30656e
Fixing bugs in nGraph reference implementation of Interpolate-4 (#2204)
vgavrilo Sep 17, 2020
60ad6ed
[IE][CMAKE] Add some libraries to ie_developer export list (#2279)
Sep 17, 2020
8ebd344
[IE][VPU]: Enable DTS for some eltwise operations (#2242)
andreybakalin97 Sep 17, 2020
ab4fdfc
install_openvino_dependencies: Updated copyrights (#2306)
artanokhov Sep 17, 2020
2a9ec98
Glstreamer dependencies (#2292)
D-Denisov Sep 17, 2020
fecce75
setupvars: Updated notifications, fixed calling python in Windows cas…
artanokhov Sep 17, 2020
b0308d9
[IE][VPU]: Enable some DSR+Op tests (#2118)
Maxim-Doronin Sep 17, 2020
73a31ba
Fixed compilation without OpenCV (#2309)
ilya-lavrenov Sep 18, 2020
9307459
Updated operations specification documents (2021.2) (#2270)
lazarevevgeny Sep 18, 2020
f5b071f
[LPT] MatMul fix
eshoguli Sep 18, 2020
82be35b
Merge commit 'cb70ae064b02ec53456f1794cc24e38e3474dbd1' into move_tra…
eshoguli Sep 18, 2020
1b7dfc6
Fix bidirectional mode in reference implementations of GRU/LSTM/RNN S…
itikhono Sep 18, 2020
3df32a9
Merge branch 'move_transforms_to_common' into es/lpt/lpt_to_ngraph_wa…
eshoguli Sep 18, 2020
a34b6e3
ConvertPrecision - saturate Constant's value to std::numeric_limits<d…
mateusztabaka Sep 18, 2020
a0da3d3
Accept ONNX Constants with empty tensors (#2287)
Sep 18, 2020
8dcff4a
fix move assignment operator of Shape class (#2280)
t-jankowski Sep 18, 2020
cd39138
[ MO ] Complete weights layout permutation (#2299)
Sep 18, 2020
147a508
fixes for UWP (#2255)
ilya-lavrenov Sep 18, 2020
1721a9c
install_NEO_OCL_driver: Updated exit codes, messages. Updated way to …
artanokhov Sep 18, 2020
676ce76
[IE][VPU]: Makes ROIAlign to use 2 stage pipeline (to support ma2485)…
andrejsokolov Sep 18, 2020
1e8618b
[nGraph] WA removal: 1) nGraph tests enabling 2) LPT extanding: not h…
eshoguli Sep 18, 2020
2026627
New layout for `time_tests` (#2321)
vurusovs Sep 18, 2020
fe99e05
Bump cmake version to 3.13 (#2258)
evgenytalanin-intel Sep 18, 2020
58d8de9
[Python API Tests] Update ngraph and iecore tests (#2329)
akuporos Sep 18, 2020
60d663a
[LPT] nGraph WA removal: function tests skip config rollback
eshoguli Sep 18, 2020
61a7cdd
Introduce opset5, include GRU/RNN/LSTM Sequences to opset5 (#2265)
itikhono Sep 18, 2020
c3f5e92
[LPT] WA removal: precision propagation fix
eshoguli Sep 18, 2020
40713e1
[LPT] ConvertMulOrAddFinally transformation extending
eshoguli Sep 18, 2020
dbc0a4f
[nGraph] ConvolutionMultiplyFusion rollback (move from legacy to common)
eshoguli Sep 18, 2020
a5b4eaa
[nGraph] ConvertMulAddToScaleShiftOrPower: WA removal
eshoguli Sep 18, 2020
e206f1f
[nGraph] TypeRelaxed: WA removal
eshoguli Sep 18, 2020
3bd46c0
[ DOC ] TF FakeQuantWithMinMaxVars(PerChannel) support (#2338)
Sep 19, 2020
7446e53
[nGraph] WA removal: TypeRelaxed
eshoguli Sep 19, 2020
ac97c83
[LPT] WA removal: ConcatTransformation
eshoguli Sep 19, 2020
a52f514
[nGraph] WA removal: Eltwise & ConvertMulOrAddFinally fixes to suppor…
eshoguli Sep 19, 2020
6f8d450
[nGraph] MulAddConversion fix: 2D & 3D ScaleShift are supproted
eshoguli Sep 19, 2020
c52fafb
[nGraph] VisualizeTree extending
eshoguli Sep 20, 2020
e29b505
[LPT] FakeQuantizeDequantization extending: check element wise dequan…
eshoguli Sep 20, 2020
4c600dc
[LPT] FakeQuantizeDequantization extending: SubtractMultiplyToMultipl…
eshoguli Sep 20, 2020
51ef2b2
[LPT] Convolution + test infrastructure update
eshoguli Sep 20, 2020
05a850b
Merge remote-tracking branch 'upstream/master' into es/lpt/lpt_to_ngr…
eshoguli Sep 20, 2020
0c0ed09
[LPT] GPU compilation error
eshoguli Sep 20, 2020
292b9ee
[nGraph] BatchNorm plugin tests: input tensor definition
eshoguli Sep 20, 2020
3a1e210
[LPT] LowPrecisionTransformer::isFunctionQuantized was added
eshoguli Sep 20, 2020
143673a
[nGraph] WA final cleanup
eshoguli Sep 20, 2020
70975d6
[nGraph] ScaleShiftIE quick fix
eshoguli Sep 20, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci/openvino-onnx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ ENV NGRAPH_CPP_BUILD_PATH=/openvino/dist
ENV LD_LIBRARY_PATH=/openvino/dist/lib
ENV NGRAPH_ONNX_IMPORT_ENABLE=TRUE
ENV PYTHONPATH=/openvino/bin/intel64/Release/lib/python_api/python3.8:${PYTHONPATH}
RUN git clone --recursive https://github.com/pybind/pybind11.git
RUN git clone --recursive https://github.com/pybind/pybind11.git -b v2.5.0 --depth 1
CMD tox
14 changes: 2 additions & 12 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,7 @@ cmake_policy(SET CMP0054 NEW)
# it allows to install targets created outside of current projects
# See https://blog.kitware.com/cmake-3-13-0-available-for-download/

if (APPLE)
if(CMAKE_GENERATOR STREQUAL "Xcode")
# due to https://gitlab.kitware.com/cmake/cmake/issues/14254
cmake_minimum_required(VERSION 3.12.0 FATAL_ERROR)
else()
# due to https://cmake.org/cmake/help/v3.12/policy/CMP0068.html
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
endif()
else()
cmake_minimum_required(VERSION 3.7.2 FATAL_ERROR)
endif()
cmake_minimum_required(VERSION 3.13 FATAL_ERROR)

project(OpenVINO)

Expand Down Expand Up @@ -73,7 +63,7 @@ function(build_ngraph)
ngraph_set(NGRAPH_UNIT_TEST_ENABLE FALSE)
endif()

if(NOT ANDROID)
if(NOT (ANDROID OR WINDOWS_STORE))
ngraph_set(NGRAPH_ONNX_IMPORT_ENABLE TRUE)
else()
ngraph_set(NGRAPH_ONNX_IMPORT_ENABLE FALSE)
Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -336,14 +336,14 @@ jobs:
# Add for gtest-parallel, it hangs now (CVS-33386)
#python $(BUILD_DIR)\gtest-parallel\gtest-parallel $(BIN_DIR)\MklDnnFunctionalTests --workers=$(WORKERS_NUMBER) --print_test_times --dump_json_test_results=MklDnnFunctionalTests.json -- --gtest_print_time=1
- script: |
set PATH=$(REPO_DIR)\inference-engine\temp\tbb\bin;$(REPO_DIR)\inference-engine\temp\opencv_4.3.0\opencv\bin;%PATH%
set PATH=$(REPO_DIR)\inference-engine\temp\tbb\bin;$(REPO_DIR)\inference-engine\temp\opencv_4.5.0\opencv\bin;%PATH%
set DATA_PATH=$(BUILD_DIR)\testdata
set MODELS_PATH=$(BUILD_DIR)\testdata
$(BIN_DIR)\MklDnnFunctionalTests --gtest_print_time=1
displayName: 'MklDnnFunctionalTests'
continueOnError: false
- script: |
set PATH=$(REPO_DIR)\inference-engine\temp\tbb\bin;$(REPO_DIR)\inference-engine\temp\opencv_4.3.0\opencv\bin;%PATH%
set PATH=$(REPO_DIR)\inference-engine\temp\tbb\bin;$(REPO_DIR)\inference-engine\temp\opencv_4.5.0\opencv\bin;%PATH%
set DATA_PATH=$(BUILD_DIR)\testdata
set MODELS_PATH=$(BUILD_DIR)\testdata
$(BIN_DIR)\InferenceEngineCAPITests
Expand Down
2 changes: 1 addition & 1 deletion build-instruction.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ cmake -G "Visual Studio 15 2017 Win64" -T "Intel C++ Compiler 18.0" ^
6. Before running the samples, add paths to the TBB and OpenCV binaries used for
the build to the `%PATH%` environment variable. By default, TBB binaries are
downloaded by the CMake-based script to the `<openvino_repo>/inference-engine/temp/tbb/bin`
folder, OpenCV binaries to the `<openvino_repo>/inference-engine/temp/opencv_4.3.0/opencv/bin`
folder, OpenCV binaries to the `<openvino_repo>/inference-engine/temp/opencv_4.5.0/opencv/bin`
folder.

### Additional Build Options
Expand Down
26 changes: 13 additions & 13 deletions cmake/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ set_temp_directory(TEMP "${IE_MAIN_SOURCE_DIR}")

include(dependency_solver)

if(CMAKE_CROSSCOMPILING)
if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "amd64.*|x86_64.*|AMD64.*")
set(HOST_X86_64 ON)
endif()
if(CMAKE_CROSSCOMPILING AND NGRAPH_ONNX_IMPORT_ENABLE)
if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "amd64.*|x86_64.*|AMD64.*")
set(HOST_X86_64 ON)
endif()

set(protoc_version "3.7.1")
if(CMAKE_HOST_SYSTEM_NAME MATCHES Linux)
RESOLVE_DEPENDENCY(SYSTEM_PROTOC_ROOT
ARCHIVE_LIN "protoc-${protoc_version}-linux-x86_64.tar.gz"
TARGET_PATH "${TEMP}/protoc-${protoc_version}-linux-x86_64")
debug_message(STATUS "host protoc-${protoc_version} root path = " ${SYSTEM_PROTOC_ROOT})
else()
message(FATAL_ERROR "Unsupported host system (${CMAKE_HOST_SYSTEM_NAME}) and arch (${CMAKE_HOST_SYSTEM_PROCESSOR}) for cross-compilation")
endif()
set(protoc_version "3.7.1")
if(CMAKE_HOST_SYSTEM_NAME MATCHES Linux)
RESOLVE_DEPENDENCY(SYSTEM_PROTOC_ROOT
ARCHIVE_LIN "protoc-${protoc_version}-linux-x86_64.tar.gz"
TARGET_PATH "${TEMP}/protoc-${protoc_version}-linux-x86_64")
debug_message(STATUS "host protoc-${protoc_version} root path = " ${SYSTEM_PROTOC_ROOT})
else()
message(FATAL_ERROR "Unsupported host system (${CMAKE_HOST_SYSTEM_NAME}) and arch (${CMAKE_HOST_SYSTEM_PROCESSOR}) for cross-compilation")
endif()

reset_deps_cache(SYSTEM_PROTOC)

Expand Down
2 changes: 1 addition & 1 deletion cmake/features.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ie_option (ENABLE_TESTS "unit, behavior and functional tests" OFF)

ie_option (ENABLE_MKL_DNN "MKL-DNN plugin for inference engine" ${ENABLE_MKL_DNN_DEFAULT})

ie_dependent_option (ENABLE_CLDNN "clDnn based plugin for inference engine" ON "WIN32 OR X86_64;NOT APPLE;NOT MINGW" OFF)
ie_dependent_option (ENABLE_CLDNN "clDnn based plugin for inference engine" ON "WIN32 OR X86_64;NOT APPLE;NOT MINGW;NOT WINDOWS_STORE; NOT WINDOWS_PHONE" OFF)

# FIXME: there are compiler failures with LTO and Cross-Compile toolchains. Disabling for now, but
# this must be addressed in a proper way
Expand Down
22 changes: 22 additions & 0 deletions cmake/uwp.toolchain.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright (C) 2018-2020 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

set(CMAKE_SYSTEM_NAME WindowsStore)
set(CMAKE_SYSTEM_VERSION 10.0)

if (NOT DEFINED CMAKE_SYSTEM_PROCESSOR)
set(CMAKE_SYSTEM_PROCESSOR ${CMAKE_HOST_SYSTEM_PROCESSOR})
endif()

file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/src/uwp.hpp"
"#ifdef WINAPI_FAMILY\n"
"#undef WINAPI_FAMILY\n"
"#define WINAPI_FAMILY WINAPI_FAMILY_DESKTOP_APP\n"
"#endif\n")

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /FI\"${CMAKE_CURRENT_BINARY_DIR}/src/uwp.hpp\"")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /FI\"${CMAKE_CURRENT_BINARY_DIR}/src/uwp.hpp\"")

# UWP setting for package isolation
# set(CMAKE_VS_GLOBALS "AppContainerApplication=true")
2 changes: 2 additions & 0 deletions docs/MO_DG/prepare_model/Supported_Frameworks_Layers.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ Standard TensorFlow\* operations:
| ExperimentalSparseWeightedSum | CPU only |
| ExtractImagePatches | No |
| EuclideanNorm | No |
| FakeQuantWithMinMaxVars | No |
| FakeQuantWithMinMaxVarsPerChannel | No |
| Fill | No |
| Floor | No |
| FloorDiv | No |
Expand Down
13 changes: 9 additions & 4 deletions docs/doxygen/ie_docs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
<!-- IR -->
<tab type="usergroup" title="Intermediate Representation and Operations Sets" url="@ref openvino_docs_MO_DG_IR_and_opsets">
<tab type="usergroup" title="Available Operations Sets" url="@ref openvino_docs_ops_opset">
<tab type="user" title="opset5 Specification" url="@ref openvino_docs_ops_opset5"/>
<tab type="user" title="opset4 Specification" url="@ref openvino_docs_ops_opset4"/>
<tab type="user" title="opset3 Specification" url="@ref openvino_docs_ops_opset3"/>
<tab type="user" title="opset2 Specification" url="@ref openvino_docs_ops_opset2"/>
Expand All @@ -102,15 +103,12 @@
<tab type="usergroup" title="Operations Specifications" url="">
<tab type="user" title="Abs-1" url="@ref openvino_docs_ops_arithmetic_Abs_1"/>
<tab type="user" title="Acos-1" url="@ref openvino_docs_ops_arithmetic_Acos_1"/>
<tab type="user" title="Acosh-1" url="@ref openvino_docs_ops_arithmetic_Acosh_1"/>
<tab type="user" title="Acosh-3" url="@ref openvino_docs_ops_arithmetic_Acosh_3"/>
<tab type="user" title="Add-1" url="@ref openvino_docs_ops_arithmetic_Add_1"/>
<tab type="user" title="Asin-1" url="@ref openvino_docs_ops_arithmetic_Asin_1"/>
<tab type="user" title="Asinh-1" url="@ref openvino_docs_ops_arithmetic_Asinh_1"/>
<tab type="user" title="Asinh-3" url="@ref openvino_docs_ops_arithmetic_Asinh_3"/>
<tab type="user" title="Assign-3" url="@ref openvino_docs_ops_infrastructure_Assign_3"/>
<tab type="user" title="Atan-1" url="@ref openvino_docs_ops_arithmetic_Atan_1"/>
<tab type="user" title="Atanh-1" url="@ref openvino_docs_ops_arithmetic_Atanh_1"/>
<tab type="user" title="Atanh-3" url="@ref openvino_docs_ops_arithmetic_Atanh_3"/>
<tab type="user" title="AvgPool-1" url="@ref openvino_docs_ops_pooling_AvgPool_1"/>
<tab type="user" title="BatchNormInference-1" url="@ref openvino_docs_ops_normalization_BatchNormInference_1"/>
Expand Down Expand Up @@ -150,6 +148,7 @@
<tab type="user" title="Floor_1" url="@ref openvino_docs_ops_arithmetic_Floor_1"/>
<tab type="user" title="GRN-1" url="@ref openvino_docs_ops_normalization_GRN_1"/>
<tab type="user" title="GRUCell-3" url="@ref openvino_docs_ops_sequence_GRUCell_3"/>
<tab type="user" title="GRUSequence-5" url="@ref openvino_docs_ops_sequence_GRUSequence_5"/>
<tab type="user" title="GatherTree-1" url="@ref openvino_docs_ops_movement_GatherTree_1"/>
<tab type="user" title="Gather-1" url="@ref openvino_docs_ops_movement_Gather_1"/>
<tab type="user" title="Gelu-2" url="@ref openvino_docs_ops_activation_GELU_2"/>
Expand All @@ -158,8 +157,9 @@
<tab type="user" title="GroupConvolutionBackpropData-1" url="@ref openvino_docs_ops_convolution_GroupConvolutionBackpropData_1"/>
<tab type="user" title="GroupConvolution-1" url="@ref openvino_docs_ops_convolution_GroupConvolution_1"/>
<tab type="user" title="HardSigmoid-1" url="@ref openvino_docs_ops_activation_HardSigmoid_1"/>
<tab type="user" title="HSwish-4" url="@ref openvino_docs_ops_activation_HSwish_4"/>
<tab type="user" title="Interpolate-1" url="@ref openvino_docs_ops_image_Interpolate_1"/>
<tab type="user" title="Interpolate-1" url="@ref openvino_docs_ops_image_Interpolate_4"/>
<tab type="user" title="Interpolate-4" url="@ref openvino_docs_ops_image_Interpolate_4"/>
<tab type="user" title="LRN-1" url="@ref openvino_docs_ops_normalization_LRN_1"/>
<tab type="user" title="LSTMCell-1" url="@ref openvino_docs_ops_sequence_LSTMCell_1"/>
<tab type="user" title="LSTMSequence-1" url="@ref openvino_docs_ops_sequence_LSTMSequence_1"/>
Expand Down Expand Up @@ -194,9 +194,13 @@
<tab type="user" title="PriorBoxClustered-1" url="@ref openvino_docs_ops_detection_PriorBoxClustered_1"/>
<tab type="user" title="PriorBox-1" url="@ref openvino_docs_ops_detection_PriorBox_1"/>
<tab type="user" title="Proposal-1" url="@ref openvino_docs_ops_detection_Proposal_1"/>
<tab type="user" title="Proposal-4" url="@ref openvino_docs_ops_detection_Proposal_4"/>
<tab type="user" title="Range-1" url="@ref openvino_docs_ops_generation_Range_1"/>
<tab type="user" title="Range-4" url="@ref openvino_docs_ops_generation_Range_4"/>
<tab type="user" title="ReadValue-3" url="@ref openvino_docs_ops_infrastructure_ReadValue_3"/>
<tab type="user" title="ReLU-1" url="@ref openvino_docs_ops_activation_ReLU_1"/>
<tab type="user" title="ReduceL1-4" url="@ref openvino_docs_ops_reduction_ReduceL1_4"/>
<tab type="user" title="ReduceL2-4" url="@ref openvino_docs_ops_reduction_ReduceL2_4"/>
<tab type="user" title="ReduceLogicalAnd-1" url="@ref openvino_docs_ops_reduction_ReduceLogicalAnd_1"/>
<tab type="user" title="ReduceLogicalOr-1" url="@ref openvino_docs_ops_reduction_ReduceLogicalOr_1"/>
<tab type="user" title="ReduceMax-1" url="@ref openvino_docs_ops_reduction_ReduceMax_1"/>
Expand All @@ -211,6 +215,7 @@
<tab type="user" title="Reverse" url="@ref openvino_docs_ops_movement_Reverse_1"/>
<tab type="user" title="ReverseSequence-1" url="@ref openvino_docs_ops_movement_ReverseSequence_1"/>
<tab type="user" title="RNNCell-3" url="@ref openvino_docs_ops_sequence_RNNCell_3"/>
<tab type="user" title="RNNSequence-5" url="@ref openvino_docs_ops_sequence_RNNSequence_5"/>
<tab type="user" title="ROIAlign-3" url="@ref openvino_docs_ops_detection_ROIAlign_3"/>
<tab type="user" title="ROIPooling-1" url="@ref openvino_docs_ops_detection_ROIPooling_1"/>
<tab type="user" title="ScatterElementsUpdate-3" url="@ref openvino_docs_ops_movement_ScatterElementsUpdate_3"/>
Expand Down
50 changes: 0 additions & 50 deletions docs/ops/arithmetic/Acosh_1.md

This file was deleted.

50 changes: 0 additions & 50 deletions docs/ops/arithmetic/Asinh_1.md

This file was deleted.

50 changes: 0 additions & 50 deletions docs/ops/arithmetic/Atanh_1.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/ops/detection/Proposal_4.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Proposal <a name="Proposal"></a>
## Proposal <a name="Proposal"></a> {#openvino_docs_ops_detection_Proposal_4}

**Versioned name**: *Proposal-4*

Expand Down
2 changes: 1 addition & 1 deletion docs/ops/generation/Range_4.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Range<a name="Range"></a>
## Range<a name="Range"></a> {#openvino_docs_ops_generation_Range_4}

**Versioned name**: *Range-4*

Expand Down
11 changes: 8 additions & 3 deletions docs/ops/image/Interpolate_4.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,11 @@ class InterpolateCalculation:
else:
self.scales = scales

if self.mode == 'nearest':
self.all_scales = np.ones(rank).astype(np.float)
for i, axis in enumerate(self.axes):
self.all_scales[axis] = self.scales[i]

self.input_shape = padded_data.shape
return self.func(padded_data)

Expand Down Expand Up @@ -446,9 +451,9 @@ class InterpolateCalculation:
num_of_axes = len(self.axes)
for coordinates in np.ndindex(tuple(self.output_shape)):
input_coords = np.array(coordinates, dtype=np.int64)
for i, axis in enumerate(self.axes):
in_coord = self.get_original_coordinate(coordinates[axis], self.scales[i], self.output_shape[axis], self.input_shape[axis])
nearest_pixel = self.get_nearest_pixel(in_coord, self.scales[i] < 1)
for axis, scale in enumerate(self.all_scales):
in_coord = self.get_original_coordinate(coordinates[axis], scale, self.output_shape[axis], self.input_shape[axis])
nearest_pixel = self.get_nearest_pixel(in_coord, scale < 1)
input_coords[axis] = max(0, min(nearest_pixel, self.input_shape[axis] - 1))
result[coordinates] = input_data[tuple(input_coords)]

Expand Down
1 change: 1 addition & 0 deletions docs/ops/opset.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This topic provides a complete list of available sets of operations supported in

| OpenVINO™ Version | Actual Operations Set |
| :---------------- | :------------------------------- |
| 2021.2 | [opset5](opset5.md) |
| 2021.1 | [opset4](opset4.md) |
| 2020.4 | [opset3](opset3.md) |
| 2020.3 | [opset2](opset2.md) |
Expand Down
Loading