v1::Pad evaluator (#1771)
authorTomasz Dołbniak <tomasz.dolbniak@intel.com>
Tue, 18 Aug 2020 10:43:54 +0000 (12:43 +0200)
committerGitHub <noreply@github.com>
Tue, 18 Aug 2020 10:43:54 +0000 (13:43 +0300)
commit1cb1f13eaa004959a54665338bb402bdb148d5f0
treea12953a7c48701500b795e7bae594bdf6c44ae4f
parentea80bc3d6fc901c1b2c37d899ff53a0f2c47c06c
v1::Pad evaluator (#1771)

* v1::Pad reference implementation

* ut fix: pad_negative_exterior_1d

* ut fix: pad_negative_exterior_1d_check_limits & pad_edge_1d

* Code formatting

* ut fix: pad_edge_1d_top_neg & pad_edge_1d_top_neg_bigger_than_tensor

* More Pad UT fixes

* Pad UT fixes: REFLECT mode

* Fix all Pad UTs

* Switch Pad evaluation in INT backend

* Non-template solution to v1::Pad::evaluate

* Always create v1::Pad with 4 inputs

* VS compilation error fix

* Python test fix

* Remove the v0::Pad constant folding pass

* Some extra checks in v1::Pad evaluator

* Code formatting

* Remove an obsolete CF test
ngraph/core/include/ngraph/op/pad.hpp
ngraph/core/include/ngraph/pass/constant_folding.hpp
ngraph/core/reference/include/ngraph/runtime/reference/pad.hpp
ngraph/core/src/op/pad.cpp
ngraph/core/src/pass/constant_folding_pad.cpp [deleted file]
ngraph/core/src/runtime/reference/pad.cpp [new file with mode: 0644]
ngraph/test/backend/pad.in.cpp
ngraph/test/constant_folding.cpp
ngraph/test/runtime/interpreter/int_executable.hpp
ngraph/test/runtime/pass/opset0_downgrade.cpp
ngraph/test/runtime/pass/opset1_upgrade.cpp