class ngraph::FusedNames¶
Overview¶
FusedName class represents runtime info attribute that stores all operation names that was fully or partially fused into node. More…
#include <fused_names_attribute.hpp>
class FusedNames: public ov::RuntimeAttribute
{
public:
// construction
FusedNames();
FusedNames(const std::string& name);
// methods
OPENVINO_RTTI("fused_names", "0");
void fuseWith(const FusedNames& names);
std::string getNames() const;
std::vector<std::string> getVectorNames() const;
ov::Any merge(const ngraph::NodeVector& nodes) const;
ov::Any init(const std::shared_ptr<ngraph::Node>& node) const;
virtual bool visit_attributes(AttributeVisitor& visitor);
virtual std::string to_string() const;
};
Inherited Members¶
public:
// typedefs
typedef std::shared_ptr<RuntimeAttribute> Ptr;
typedef std::tuple<::ov::RuntimeAttribute> Base;
// methods
static _OPENVINO_HIDDEN_METHOD const DiscreteTypeInfo& get_type_info_static();
virtual const DiscreteTypeInfo& get_type_info() const;
virtual bool is_copyable() const;
virtual Any init(const std::shared_ptr<Node>& node) const;
virtual Any merge(const ov::NodeVector& nodes) const;
virtual Any merge(const ov::OutputVector& outputs) const;
virtual std::string to_string() const;
virtual bool visit_attributes(AttributeVisitor&);
bool visit_attributes(AttributeVisitor& visitor) const;
Detailed Documentation¶
FusedName class represents runtime info attribute that stores all operation names that was fully or partially fused into node.
Construction¶
FusedNames()
A default constructor
FusedNames(const std::string& name)
Constructs a new object consisting of a single name *.
Parameters:
name |
The name |
Methods¶
void fuseWith(const FusedNames& names)
Unites current set of already fused names with another FusedNames object.
Parameters:
names |
Another object to fuse with |
std::string getNames() const
return string with operation names separated by coma in alphabetical order
std::vector<std::string> getVectorNames() const
return vector of fused names sorted in alphabetical order
Returns:
vector if strings