class ov::pass::UnrollIf¶
The transformation replaces ‘If’ operations with one of the internal functions (bodies) if the provided condition is constant. The condition is true: ‘If’ op is replaced with then_body The condition is false ‘If’ op is replaced with else_body.
#include <unroll_if.hpp>
class UnrollIf: public ov::pass::ModelPass
{
public:
// methods
"UnrollIf""0" OPENVINO_RTTI(, );
virtual boolconst std::shared_ptr<ov::Model>& run_on_model();
};
Inherited Members¶
public:
// typedefs
typedef DiscreteTypeInfo type_info_t;
// methods
boolconst PassPropertyMask& get_property() const;
voidconst std::string& set_name();
std::string get_name() const;
voidconst param_callback& set_callback();
virtual voidconst std::shared_ptr<PassConfig>& set_pass_config();
std::shared_ptr<PassConfig> get_pass_config();
boolconst std::shared_ptr<const Node>& transformation_callback();
virtual const type_info_t& get_type_info() const = 0;
"ov::pass::ModelPass" OPENVINO_RTTI();
virtual boolconst std::shared_ptr<ov::Model>& run_on_model() = 0;