Public Member Functions | Static Public Attributes
ExecGraphInfoSerialization::ExecutionNode Class Reference

The Execution node which is used to represent node in execution graph. More...

#include <exec_graph_info.hpp>

Inheritance diagram for ExecGraphInfoSerialization::ExecutionNode:

Public Member Functions

const ngraph::NodeTypeInfo & get_type_info () const override
 
 ExecutionNode ()=default
 
 ExecutionNode (const ngraph::OutputVector &arguments, size_t output_size=1)
 Constructs a new execution node with a given parameters. More...
 
std::shared_ptr< ngraph::Node > clone_with_new_inputs (const ngraph::OutputVector &inputs) const override
 Creates a new execution node with the same state, but different input nodes. More...
 
bool visit_attributes (ngraph::AttributeVisitor &) override
 Visits attributes of the node. More...
 

Static Public Attributes

static constexpr ngraph::NodeTypeInfo type_info { "ExecutionNode", 0 }
 

Detailed Description

The Execution node which is used to represent node in execution graph.

It contains the following type of information in node runtime information:

Constructor & Destructor Documentation

◆ ExecutionNode() [1/2]

ExecGraphInfoSerialization::ExecutionNode::ExecutionNode ( )
default

A default constructor with no node inputs and 0 output ports.

◆ ExecutionNode() [2/2]

ExecGraphInfoSerialization::ExecutionNode::ExecutionNode ( const ngraph::OutputVector &  arguments,
size_t  output_size = 1 
)
inline

Constructs a new execution node with a given parameters.

Parameters
[in]argumentsInputs nodes
[in]output_sizeA number of output ports

Member Function Documentation

◆ clone_with_new_inputs()

std::shared_ptr<ngraph::Node> ExecGraphInfoSerialization::ExecutionNode::clone_with_new_inputs ( const ngraph::OutputVector &  inputs) const
inlineoverride

Creates a new execution node with the same state, but different input nodes.

Parameters
[in]inputsThe input nodes
Returns
A newly created execution node

◆ visit_attributes()

bool ExecGraphInfoSerialization::ExecutionNode::visit_attributes ( ngraph::AttributeVisitor &  )
inlineoverride

Visits attributes of the node.

Parameters
[in]visitorAn attribute visitor
Returns
Returns true if an operation has completed successfully

The documentation for this class was generated from the following file: