1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
7 #include <description_buffer.hpp>
8 #include "ie_built_in_impl.hpp"
14 namespace InferenceEngine {
15 namespace ShapeInfer {
18 *@brief Implementation of Shape inference that just assign input shapes to output shapes
20 class EqualShapeProp : public BuiltInShapeInferImpl {
22 explicit EqualShapeProp(const std::string& type) : BuiltInShapeInferImpl(type) {}
24 void inferShapesImpl(const std::vector<Blob::CPtr>& inBlobs, const std::map<std::string, std::string>& params,
25 const std::map<std::string, Blob::Ptr>& blobs, std::vector<SizeVector>& outShapes) override {
30 class DoNothingShapeProp : public BuiltInShapeInferImpl {
32 explicit DoNothingShapeProp(const std::string& type) : BuiltInShapeInferImpl(type) {}
34 void inferShapesImpl(const std::vector<Blob::CPtr>& inBlobs, const std::map<std::string, std::string>& params,
35 const std::map<std::string, Blob::Ptr>& blobs, std::vector<SizeVector>& outShapes) override {}
38 } // namespace ShapeInfer
39 } // namespace InferenceEngine