set_batch_size.hpp
1 // Copyright (C) 2018-2021 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4 
5 #pragma once
6 
7 #include <vector>
8 #include <memory>
9 
10 #include <transformations_visibility.hpp>
11 
12 #include <ngraph/pass/graph_rewrite.hpp>
13 
14 
15 namespace ngraph {
16 namespace pass {
17 
18 class TRANSFORMATIONS_API SetBatchSize;
19 
20 } // namespace pass
21 } // namespace ngraph
22 
23 /**
24  * @ingroup ie_transformation_common_api
25  * @brief Generic caller for all the transformations responsible to make model reshape-able by batch dimension
26  */
27 
28 class ngraph::pass::SetBatchSize: public ngraph::pass::FunctionPass {
29 public:
30  NGRAPH_RTTI_DECLARATION;
31  bool run_on_function(std::shared_ptr<ngraph::Function> f) override;
32 };
Generic caller for all the transformations responsible to make model reshape-able by batch dimension.
Definition: set_batch_size.hpp:28
ngraph namespace
Definition: add_fake_quantize_fusion.hpp:14