diff --git a/inference-engine/tests/functional/inference_engine/serialization/single_layer/activation.cpp b/inference-engine/tests/functional/inference_engine/serialization/single_layer/activation.cpp index 355afbaf687576..efe2efaf5ee495 100644 --- a/inference-engine/tests/functional/inference_engine/serialization/single_layer/activation.cpp +++ b/inference-engine/tests/functional/inference_engine/serialization/single_layer/activation.cpp @@ -36,6 +36,7 @@ const std::map>> activationTypes {Clamp, {{-2.0f, 2.0f}}}, {Negative, {}}, {Acos, {}}, + {Acosh, {}}, {Asin, {}}, {Asinh, {}}, {Atan, {}}, diff --git a/inference-engine/tests/functional/shared_test_classes/src/single_layer/activation.cpp b/inference-engine/tests/functional/shared_test_classes/src/single_layer/activation.cpp index 5b90cfc2079dd6..e3d4956eee0350 100644 --- a/inference-engine/tests/functional/shared_test_classes/src/single_layer/activation.cpp +++ b/inference-engine/tests/functional/shared_test_classes/src/single_layer/activation.cpp @@ -84,6 +84,12 @@ InferenceEngine::Blob::Ptr ActivationLayerTest::GenerateInput(const InferenceEng resolution = 32768; break; } + case ngraph::helpers::ActivationTypes::Acosh: { + data_start_from = 1; + data_range = 200; + resolution = 32768; + break; + } case ngraph::helpers::ActivationTypes::Ceiling: { data_start_from = -1000; data_range = 2000; diff --git a/inference-engine/tests/ngraph_helpers/ngraph_functions/include/ngraph_functions/utils/ngraph_helpers.hpp b/inference-engine/tests/ngraph_helpers/ngraph_functions/include/ngraph_functions/utils/ngraph_helpers.hpp index 47405a8e51c4f5..86ba1f04487462 100644 --- a/inference-engine/tests/ngraph_helpers/ngraph_functions/include/ngraph_functions/utils/ngraph_helpers.hpp +++ b/inference-engine/tests/ngraph_helpers/ngraph_functions/include/ngraph_functions/utils/ngraph_helpers.hpp @@ -99,6 +99,7 @@ enum ActivationTypes { Clamp, Negative, Acos, + Acosh, Asin, Asinh, Atan, diff --git a/inference-engine/tests/ngraph_helpers/ngraph_functions/src/activation.cpp b/inference-engine/tests/ngraph_helpers/ngraph_functions/src/activation.cpp index d8dce877b0f1df..1d784cbe55c567 100644 --- a/inference-engine/tests/ngraph_helpers/ngraph_functions/src/activation.cpp +++ b/inference-engine/tests/ngraph_helpers/ngraph_functions/src/activation.cpp @@ -46,6 +46,8 @@ std::shared_ptr makeActivation(const ngraph::Output &in, return std::make_shared(in); case ngraph::helpers::ActivationTypes::Acos: return std::make_shared(in); + case ngraph::helpers::ActivationTypes::Acosh: + return std::make_shared(in); case ngraph::helpers::ActivationTypes::Asin: return std::make_shared(in); case ngraph::helpers::ActivationTypes::Asinh: