// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include #include namespace TemplateExtension { //! [cpu_implementation:header] class OpImplementation : public InferenceEngine::ILayerExecImpl { public: explicit OpImplementation(const std::shared_ptr& node); InferenceEngine::StatusCode getSupportedConfigurations(std::vector &conf, InferenceEngine::ResponseDesc *resp) noexcept override; InferenceEngine::StatusCode init(InferenceEngine::LayerConfig &config, InferenceEngine::ResponseDesc *resp) noexcept override; InferenceEngine::StatusCode execute(std::vector &inputs, std::vector &outputs, InferenceEngine::ResponseDesc *resp) noexcept override; private: int64_t add; ngraph::Shape inShape; ngraph::Shape outShape; std::string error; }; //! [cpu_implementation:header] } // namespace TemplateExtension