Removed details::no_copy (#5553)
This commit is contained in:
parent
f824f914a4
commit
a6d8391c4c
@ -1,50 +0,0 @@
|
||||
// Copyright (C) 2018-2021 Intel Corporation
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
/**
|
||||
* @brief header file for no_copy class
|
||||
*
|
||||
* @file ie_no_copy.hpp
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
namespace InferenceEngine {
|
||||
namespace details {
|
||||
/**
|
||||
* @brief This class is used for objects returned from the shared library factory to prevent copying
|
||||
*/
|
||||
class no_copy {
|
||||
protected:
|
||||
/**
|
||||
* @brief A default constructor
|
||||
*/
|
||||
no_copy() = default;
|
||||
|
||||
/**
|
||||
* @brief A default destructor
|
||||
*/
|
||||
virtual ~no_copy() = default;
|
||||
|
||||
/**
|
||||
* @brief A removed copy constructor
|
||||
*/
|
||||
no_copy(no_copy const&) = delete;
|
||||
|
||||
/**
|
||||
* @brief A removed assign operator
|
||||
*/
|
||||
no_copy& operator=(no_copy const&) = delete;
|
||||
|
||||
/**
|
||||
* @brief A removed move constructor
|
||||
*/
|
||||
no_copy(no_copy&&) = delete;
|
||||
|
||||
/**
|
||||
* @brief A removed move operator
|
||||
*/
|
||||
no_copy& operator=(no_copy&&) = delete;
|
||||
};
|
||||
} // namespace details
|
||||
} // namespace InferenceEngine
|
@ -19,7 +19,6 @@
|
||||
#include "ie_layouts.h"
|
||||
#include "ie_blob.h"
|
||||
#include "ie_version.hpp"
|
||||
#include "details/ie_no_copy.hpp"
|
||||
|
||||
/**
|
||||
* @def INFERENCE_EXTENSION_API(TYPE)
|
||||
|
@ -14,7 +14,6 @@
|
||||
|
||||
#include "ie_blob.h"
|
||||
#include "ie_common.h"
|
||||
#include "details/ie_no_copy.hpp"
|
||||
|
||||
namespace InferenceEngine {
|
||||
|
||||
@ -23,7 +22,7 @@ namespace InferenceEngine {
|
||||
* @interface IVariableState
|
||||
* @brief Manages data for reset operations
|
||||
*/
|
||||
class IVariableState : public details::no_copy {
|
||||
class IVariableState {
|
||||
public:
|
||||
IE_SUPPRESS_DEPRECATED_START
|
||||
/**
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
#include <ie_blob.h>
|
||||
#include <memory>
|
||||
#include <details/ie_no_copy.hpp>
|
||||
#include "mkldnn_memory.h"
|
||||
#include "mkldnn_dims.h"
|
||||
#include "mkldnn_weights_cache.hpp"
|
||||
@ -24,7 +23,7 @@ class MKLDNNEdge;
|
||||
using MKLDNNEdgePtr = std::shared_ptr<MKLDNNEdge>;
|
||||
using MKLDNNEdgeWeakPtr = std::weak_ptr<MKLDNNEdge>;
|
||||
|
||||
class MKLDNNEdge : public InferenceEngine::details::no_copy {
|
||||
class MKLDNNEdge {
|
||||
public:
|
||||
MKLDNNEdge(const std::shared_ptr<MKLDNNNode>& parent,
|
||||
const std::shared_ptr<MKLDNNNode>& child,
|
||||
|
@ -288,7 +288,7 @@ private:
|
||||
}
|
||||
};
|
||||
|
||||
class MKLDNNNode : public InferenceEngine::details::no_copy {
|
||||
class MKLDNNNode {
|
||||
public:
|
||||
template<typename T, int N>
|
||||
struct Tag {};
|
||||
@ -326,7 +326,7 @@ public:
|
||||
class NodesFactory;
|
||||
static NodesFactory & factory();
|
||||
|
||||
~MKLDNNNode() override = default;
|
||||
virtual ~MKLDNNNode() = default;
|
||||
|
||||
void addEdge(const MKLDNNEdgeWeakPtr& edge);
|
||||
void removeEdge(const MKLDNNEdgeWeakPtr& edge);
|
||||
|
@ -15,7 +15,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNBatchToSpaceNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNBatchToSpaceNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNBatchToSpaceNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override {};
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -75,7 +75,6 @@ struct jit_uni_bin_conv_kernel {
|
||||
class MKLDNNBinaryConvolutionNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNBinaryConvolutionNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNBinaryConvolutionNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void createPrimitive() override;
|
||||
|
@ -15,7 +15,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNBroadcastNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNBroadcastNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNBroadcastNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override {};
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -14,7 +14,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNConcatNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNConcatNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNConcatNode() override = default;
|
||||
|
||||
static bool isSupportedOperation(const std::shared_ptr<const ngraph::Node>& op, std::string& errorMessage) noexcept;
|
||||
void getSupportedDescriptors() override;
|
||||
|
@ -17,7 +17,6 @@ class MKLDNNEltwiseNode;
|
||||
class MKLDNNConvolutionNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNConvolutionNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNConvolutionNode() override = default;
|
||||
|
||||
static bool isSupportedOperation(const std::shared_ptr<ngraph::Node>& op, std::string& errorMessage) noexcept;
|
||||
void getSupportedDescriptors() override;
|
||||
|
@ -16,7 +16,6 @@ public:
|
||||
MKLDNNConvertNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
MKLDNNConvertNode(const InferenceEngine::SizeVector &dims, const InferenceEngine::Precision &inPrc, const InferenceEngine::Precision &outPrc,
|
||||
const std::string &nodeName, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNConvertNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -15,7 +15,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNDeconvolutionNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNDeconvolutionNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNDeconvolutionNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void createDescriptor(const std::vector<InferenceEngine::TensorDesc>& inputDesc,
|
||||
|
@ -65,7 +65,6 @@ struct jit_uni_def_conv_kernel {
|
||||
class MKLDNNDeformableConvolutionNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNDeformableConvolutionNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNDeformableConvolutionNode() override = default;
|
||||
|
||||
static bool isSupportedOperation(const std::shared_ptr<const ngraph::Node>& op, std::string& errorMessage) noexcept;
|
||||
void getSupportedDescriptors() override;
|
||||
|
@ -14,7 +14,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNDepthToSpaceNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNDepthToSpaceNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNDepthToSpaceNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -60,7 +60,6 @@ struct jit_uni_eltwise_kernel {
|
||||
class MKLDNNEltwiseNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNEltwiseNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNEltwiseNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -16,7 +16,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNEmbeddingBagOffsetSumNode : public MKLDNNNode, public MKLDNNEmbeddingBagSumNode {
|
||||
public:
|
||||
MKLDNNEmbeddingBagOffsetSumNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNEmbeddingBagOffsetSumNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override {};
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -16,7 +16,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNEmbeddingBagPackedSumNode : public MKLDNNNode, public MKLDNNEmbeddingBagSumNode {
|
||||
public:
|
||||
MKLDNNEmbeddingBagPackedSumNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNEmbeddingBagPackedSumNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override {};
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -16,7 +16,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNEmbeddingSegmentsSumNode : public MKLDNNNode, public MKLDNNEmbeddingBagSumNode {
|
||||
public:
|
||||
MKLDNNEmbeddingSegmentsSumNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNEmbeddingSegmentsSumNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override {};
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -65,7 +65,6 @@ struct jit_uni_quantize_kernel {
|
||||
class MKLDNNFakeQuantizeNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNFakeQuantizeNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNFakeQuantizeNode() override = default;
|
||||
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
void getSupportedDescriptors() override;
|
||||
|
@ -15,7 +15,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNFullyConnectedNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNFullyConnectedNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNFullyConnectedNode() override = default;
|
||||
|
||||
std::vector<mkldnn::memory::format_tag> getAvailableFormatsForDims(const MKLDNNDims &dims) const override;
|
||||
void getSupportedDescriptors() override;
|
||||
|
@ -15,7 +15,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNGatherElementsNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNGatherElementsNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNGatherElementsNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override {};
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -15,7 +15,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNGatherNDNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNGatherNDNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNGatherNDNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override {};
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -15,7 +15,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNGatherNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNGatherNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNGatherNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override {};
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -15,7 +15,6 @@ public:
|
||||
MKLDNNInputNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
MKLDNNInputNode(const InferenceEngine::SizeVector &dims, const InferenceEngine::Precision &prc, const std::string &name,
|
||||
const std::string &type, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNInputNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -91,7 +91,6 @@ struct jit_uni_interpolate_kernel {
|
||||
class MKLDNNInterpolateNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNInterpolateNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNInterpolateNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -15,7 +15,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNLrnNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNLrnNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNLrnNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void createDescriptor(const std::vector<InferenceEngine::TensorDesc>& inputDesc,
|
||||
|
@ -14,7 +14,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNMatMulNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNMatMulNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNMatMulNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -73,7 +73,6 @@ struct jit_uni_mvn_kernel {
|
||||
class MKLDNNMVNNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNMVNNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNMVNNode() override = default;
|
||||
|
||||
static bool isSupportedOperation(const std::shared_ptr<const ngraph::Node>& op, std::string& errorMessage) noexcept;
|
||||
void getSupportedDescriptors() override;
|
||||
|
@ -74,7 +74,6 @@ struct jit_uni_normalize_kernel {
|
||||
class MKLDNNNormalizeL2Node : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNNormalizeL2Node(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNNormalizeL2Node() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -16,7 +16,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNOneHotNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNOneHotNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNOneHotNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override {};
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -13,7 +13,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNPadNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNPadNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNPadNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -15,7 +15,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNPoolingNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNPoolingNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNPoolingNode() override = default;
|
||||
|
||||
void createDescriptor(const std::vector<InferenceEngine::TensorDesc>& inputDesc,
|
||||
const std::vector<InferenceEngine::TensorDesc>& outputDesc) override;
|
||||
|
@ -15,7 +15,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNPSROIPoolingNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNPSROIPoolingNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNPSROIPoolingNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override {};
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -65,7 +65,6 @@ struct jit_uni_reduce_post_kernel {
|
||||
class MKLDNNReduceNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNReduceNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNReduceNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -13,7 +13,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNReferenceNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNReferenceNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache, const std::string& errorMessage);
|
||||
~MKLDNNReferenceNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -40,7 +40,6 @@ struct jit_uni_logistic_kernel {
|
||||
class MKLDNNRegionYoloNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNRegionYoloNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNRegionYoloNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override {};
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -18,8 +18,6 @@ public:
|
||||
MKLDNNReorderNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
MKLDNNReorderNode(const std::string& name, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
|
||||
~MKLDNNReorderNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
void createPrimitive() override;
|
||||
|
@ -15,7 +15,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNReshapeNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNReshapeNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNReshapeNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -14,7 +14,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNRNN : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNRNN(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNRNN() override = default;
|
||||
|
||||
static bool isSupportedOperation(const std::shared_ptr<const ngraph::Node>& op, std::string& errorMessage) noexcept;
|
||||
void getSupportedDescriptors() override;
|
||||
|
@ -16,7 +16,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNROIAlignNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNROIAlignNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNROIAlignNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -61,7 +61,6 @@ struct jit_uni_roi_pooling_kernel {
|
||||
class MKLDNNROIPoolingNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNROIPoolingNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNROIPoolingNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -13,7 +13,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNRollNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNRollNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNRollNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -21,7 +21,6 @@ enum class ScatterUpdateMode {
|
||||
class MKLDNNScatterUpdateNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNScatterUpdateNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNScatterUpdateNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -15,7 +15,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNSelectNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNSelectNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNSelectNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override {};
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -15,7 +15,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNSoftMaxNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNSoftMaxNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNSoftMaxNode() override = default;
|
||||
|
||||
void initOptimalPrimitiveDescriptor() override;
|
||||
void createDescriptor(const std::vector<InferenceEngine::TensorDesc>& inputDesc,
|
||||
|
@ -15,7 +15,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNSpaceToBatchNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNSpaceToBatchNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNSpaceToBatchNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override {};
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -14,7 +14,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNSpaceToDepthNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNSpaceToDepthNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNSpaceToDepthNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -13,7 +13,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNSplitNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNSplitNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNSplitNode() override = default;
|
||||
|
||||
static bool isSupportedOperation(const std::shared_ptr<const ngraph::Node>& op, std::string& errorMessage) noexcept;
|
||||
void getSupportedDescriptors() override;
|
||||
|
@ -14,7 +14,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNStridedSliceNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNStridedSliceNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNStridedSliceNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -58,7 +58,6 @@ protected:
|
||||
class MKLDNNTensorIteratorNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNTensorIteratorNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNTensorIteratorNode() override = default;
|
||||
|
||||
static bool isSupportedOperation(const std::shared_ptr<const ngraph::Node>& op, std::string& errorMessage) noexcept;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -13,7 +13,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNTileNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNTileNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNTileNode() override = default;
|
||||
|
||||
void getSupportedDescriptors() override;
|
||||
void initSupportedPrimitiveDescriptors() override;
|
||||
|
@ -18,7 +18,6 @@ namespace MKLDNNPlugin {
|
||||
class MKLDNNTransposeNode : public MKLDNNNode {
|
||||
public:
|
||||
MKLDNNTransposeNode(const std::shared_ptr<ngraph::Node>& op, const mkldnn::engine& eng, MKLDNNWeightsSharing::Ptr &cache);
|
||||
~MKLDNNTransposeNode() override = default;
|
||||
|
||||
static bool isSupportedOperation(const std::shared_ptr<const ngraph::Node>& op, std::string& errorMessage) noexcept;
|
||||
void getSupportedDescriptors() override;
|
||||
|
Loading…
Reference in New Issue
Block a user