Public Types | Public Member Functions | Data Fields | Protected Member Functions | Friends
ngraph::Node Class Referenceabstract

#include <node.hpp>

Inheritance diagram for ngraph::Node:
Inheritance graph
[legend]
Collaboration diagram for ngraph::Node:
Collaboration graph
[legend]

Public Types

using type_info_t = DiscreteTypeInfo
 
using RTMap = std::map< std::string, std::shared_ptr< Variant > >
 

Public Member Functions

virtual void validate_and_infer_types ()
 Verifies that attributes and inputs are consistent and computes output shapes and element types. Must be implemented by concrete child classes so that it can be run any number of times. More...
 
void constructor_validate_and_infer_types ()
 
virtual bool visit_attributes (AttributeVisitor &)
 
virtual const op::AutoBroadcastSpecget_autob () const
 
virtual bool evaluate (const HostTensorVector &output_values, const HostTensorVector &input_values) const
 Evaluates the op on input_values putting results in output_values. More...
 
virtual bool evaluate_lower (const HostTensorVector &output_values) const
 
virtual bool evaluate_upper (const HostTensorVector &output_values) const
 
virtual bool constant_fold (OutputVector &output_values, const OutputVector &inputs_values)
 
virtual OutputVector decompose_op () const
 Decomposes the FusedOp into a sub-graph consisting of core ngraph ops. More...
 
virtual const type_info_tget_type_info () const =0
 
const char * get_type_name () const
 
void set_arguments (const NodeVector &arguments)
 Sets/replaces the arguments with new arguments.
 
void set_arguments (const OutputVector &arguments)
 Sets/replaces the arguments with new arguments.
 
void set_argument (size_t position, const Output< Node > &argument)
 Sets/replaces the arguments with new arguments.
 
void set_output_type (size_t i, const element::Type &element_type, const PartialShape &pshape)
 
void set_output_size (size_t output_size)
 Sets the number of outputs.
 
void invalidate_values ()
 
virtual void revalidate_and_infer_types ()
 
virtual std::string description () const
 Get the string name for the type of the node, such as Add or Multiply. The class name, must not contain spaces as it is used for codegen. More...
 
const std::string & get_name () const
 Get the unique name of the node. More...
 
void set_friendly_name (const std::string &name)
 Sets a friendly name for a node. This does not overwrite the unique name of the node and is retrieved via get_friendly_name(). Used mainly for debugging. The friendly name may be set exactly once. More...
 
const std::string & get_friendly_name () const
 Gets the friendly name for a node. If no friendly name has been set via set_friendly_name then the node's unique name is returned. More...
 
virtual bool is_dynamic () const
 
size_t get_instance_id () const
 
virtual std::ostream & write_description (std::ostream &os, uint32_t depth=0) const
 Writes a description of a node to a stream. More...
 
const std::vector< std::shared_ptr< Node > > & get_control_dependencies () const
 Get control dependencies registered on the node.
 
const std::vector< Node * > & get_control_dependents () const
 Get nodes dependent on this node.
 
void add_control_dependency (std::shared_ptr< Node > node)
 This node cannot execute until node executes.
 
void remove_control_dependency (std::shared_ptr< Node > node)
 Remove the dependency of this node on node.
 
void clear_control_dependencies ()
 Remove all dependencies from this node.
 
void clear_control_dependents ()
 Remove this node as a dependency from all dependent nodes.
 
void add_node_control_dependencies (std::shared_ptr< Node > source_node)
 This node absorbs the control dependencies of source_node.
 
void add_node_control_dependents (std::shared_ptr< Node > source_node)
 This node becomes a dependent of every node dependent on source_node.
 
void transfer_control_dependents (std::shared_ptr< Node > replacement)
 This node's control dependencies are replaced by replacement.
 
size_t get_output_size () const
 Returns the number of outputs from the node.
 
const element::Typeget_output_element_type (size_t i) const
 Returns the element type for output i.
 
const element::Typeget_element_type () const
 Checks that there is exactly one output and returns its element type.
 
const Shapeget_output_shape (size_t i) const
 Returns the shape for output i.
 
const PartialShapeget_output_partial_shape (size_t i) const
 Returns the partial shape for output i.
 
Output< const Nodeget_default_output () const
 
Output< Nodeget_default_output ()
 
virtual size_t get_default_output_index () const
 Returns the output of the default output, or throws if there is none.
 
size_t no_default_index () const
 Throws no default.
 
const Shapeget_shape () const
 Checks that there is exactly one output and returns its shape.
 
descriptor::Tensorget_output_tensor (size_t i) const
 Returns the tensor for output or input i.
 
descriptor::Tensorget_input_tensor (size_t i) const
 
size_t get_input_size () const
 Returns the number of inputs for the op.
 
const element::Typeget_input_element_type (size_t i) const
 Returns the element type of input i.
 
const Shapeget_input_shape (size_t i) const
 Returns the shape of input i.
 
const PartialShapeget_input_partial_shape (size_t i) const
 Returns the partial shape of input i.
 
Nodeget_input_node_ptr (size_t index) const
 
std::shared_ptr< Nodeget_input_node_shared_ptr (size_t index) const
 
Output< Nodeget_input_source_output (size_t i) const
 
virtual std::shared_ptr< Nodeclone_with_new_inputs (const OutputVector &inputs) const =0
 
std::shared_ptr< Nodecopy_with_new_inputs (const OutputVector &new_args) const
 
std::shared_ptr< Nodecopy_with_new_inputs (const OutputVector &inputs, const std::vector< std::shared_ptr< Node >> &control_dependencies) const
 
bool has_same_type (std::shared_ptr< const Node > node) const
 True if this and node have one output with same element type and shape.
 
RTMap & get_rt_info ()
 
const RTMap & get_rt_info () const
 
const std::unordered_set< std::string > & get_provenance_tags () const
 
void add_provenance_tag (const std::string &tag)
 
template<typename T >
void add_provenance_tags (T tag_set)
 
void add_provenance_tags_above (const OutputVector &base, const std::unordered_set< std::string > &tag_set)
 Adds tag_set to this node and all intermediate nodes above base.
 
void remove_provenance_tag (const std::string &tag)
 
void add_provenance_group_member (const std::shared_ptr< Node > &node)
 Add node to additional nodes that receive tags.
 
void remove_provenance_group_member (const std::shared_ptr< Node > &node)
 Remove node to additional nodes that receive tags.
 
void replace_provenance_group_member (const std::shared_ptr< Node > &current_node, const std::shared_ptr< Node > &replacement_node)
 Replace current_node with replacement_node and transfer tags.
 
const std::set< std::shared_ptr< Node > > & get_provenance_group_members () const
 
std::shared_ptr< Nodeadd_provenance_group_members_above (const OutputVector &base)
 Add all nodes between this node and nodes in base as additional nodes to receive provenance tags.
 
void merge_provenance_tags_from (const std::shared_ptr< const Node > &source)
 
void transfer_provenance_tags (const std::shared_ptr< Node > &replacement)
 Transfer provenance tags to replacement.
 
NodeVector get_users (bool check_is_used=false) const
 Get all the nodes that uses the current node.
 
virtual size_t get_version () const
 
virtual std::shared_ptr< Nodeget_default_value () const
 
bool operator< (const Node &other) const
 Use instance ids for comparison instead of memory addresses to improve determinism.
 
std::vector< Input< Node > > inputs ()
 
std::vector< Input< const Node > > inputs () const
 
std::vector< Output< Node > > input_values () const
 
std::vector< Output< Node > > outputs ()
 
std::vector< Output< const Node > > outputs () const
 
Input< Nodeinput (size_t input_index)
 
Input< const Nodeinput (size_t input_index) const
 
Output< Nodeinput_value (size_t input_index) const
 
Output< Nodeoutput (size_t output_index)
 
Output< const Nodeoutput (size_t output_index) const
 
void set_op_annotations (std::shared_ptr< ngraph::op::util::OpAnnotations > op_annotations)
 
std::shared_ptr< ngraph::op::util::OpAnnotationsget_op_annotations () const
 
virtual bool match_value (pattern::Matcher *matcher, const Output< Node > &pattern_value, const Output< Node > &graph_value)
 
virtual bool match_node (pattern::Matcher *matcher, const Output< Node > &graph_value)
 

Data Fields

NGRAPH_DEPRECATED("The tensor name was deprecated. Use get_input_tensor(i).get_names() instead.") const std std::unordered_set< descriptor::Tensor * > liveness_new_list
 Returns the tensor name for input i.
 
std::unordered_set< descriptor::Tensor * > liveness_free_list
 

Protected Member Functions

 Node ()=default
 Construct an unitialized Node.
 
 Node (const Node &)
 Copying a node.
 
Nodeoperator= (const Node &)
 Assignment operator.
 
 Node (size_t output_size)
 Construct an unitialized Node. More...
 
 Node (const OutputVector &arguments, size_t output_size=1)
 Constructor for Node subclasses that have metaclasses. More...
 
void safe_delete (NodeVector &nodes, bool recurse)
 Moves nodes that would be deleted from inputs to nodes to avoid stack overflows on deep networks.
 
void set_input_is_relevant_to_shape (size_t i, bool relevant=true)
 Marks an input as being relevant or irrelevant to the output shapes of this node. More...
 
void set_input_is_relevant_to_value (size_t i, bool relevant=true)
 Marks an input as being relevant or irrelevant to the output values of this node. More...
 

Friends

class descriptor::Input
 
template<typename NodeType >
class Input
 
template<typename NodeType >
class Output
 

Detailed Description

Nodes are the backbone of the graph of Value dataflow. Every node has zero or more nodes as arguments and one value, which is either a tensor or a (possibly empty) tuple of values.

Constructor & Destructor Documentation

◆ Node() [1/2]

ngraph::Node::Node ( size_t  output_size)
protected

Construct an unitialized Node.

Parameters
output_sizeNumber of outputs for this node

◆ Node() [2/2]

ngraph::Node::Node ( const OutputVector &  arguments,
size_t  output_size = 1 
)
protected

Constructor for Node subclasses that have metaclasses.

Parameters
argumentsOutput i will connect to input i
output_sizeNumber of outputs for this node

Member Function Documentation

◆ decompose_op()

virtual OutputVector ngraph::Node::decompose_op ( ) const
inlinevirtual

Decomposes the FusedOp into a sub-graph consisting of core ngraph ops.

Returns
A vector of nodes comprising the sub-graph. The order of output tensors must match the match output tensors of the FusedOp

◆ description()

virtual std::string ngraph::Node::description ( ) const
virtual

Get the string name for the type of the node, such as Add or Multiply. The class name, must not contain spaces as it is used for codegen.

Returns
A const reference to the node's type name

◆ evaluate()

virtual bool ngraph::Node::evaluate ( const HostTensorVector &  output_values,
const HostTensorVector &  input_values 
) const
virtual

Evaluates the op on input_values putting results in output_values.

Returns
true if successful

Reimplemented in ngraph::op::v0::Xor, ngraph::op::v1::LogicalXor, ngraph::op::v1::VariadicSplit, ngraph::op::util::BroadcastBase, ngraph::op::v0::Unsqueeze, ngraph::op::v1::Transpose, ngraph::op::v3::TopK, ngraph::op::v1::TopK, ngraph::op::v0::Tile, ngraph::op::v0::Tanh, ngraph::op::v0::Tan, ngraph::op::v4::Swish, ngraph::op::v1::Subtract, ngraph::op::v0::Sqrt, ngraph::op::v1::Split, ngraph::op::v0::SpaceToDepth, ngraph::op::v1::SpaceToBatch, ngraph::op::v4::SoftPlus, ngraph::op::v1::Softmax, ngraph::op::v0::Sinh, ngraph::op::v0::Sin, ngraph::op::v0::Sign, ngraph::op::v0::Sigmoid, ngraph::op::v0::ShuffleChannels, ngraph::op::v3::ScatterUpdate, ngraph::op::v3::ScatterElementsUpdate, ngraph::op::v5::Round, ngraph::op::v3::ROIAlign, ngraph::op::v1::Reverse, ngraph::op::v0::Result, ngraph::op::v1::Reshape, ngraph::op::v0::Relu, ngraph::op::v1::ReduceSum, ngraph::op::v1::ReduceProd, ngraph::op::v1::ReduceMean, ngraph::op::v1::ReduceLogicalOr, ngraph::op::v1::ReduceLogicalAnd, ngraph::op::v4::ReduceL2, ngraph::op::v4::ReduceL1, ngraph::op::v0::Range, ngraph::op::v4::Range, ngraph::op::v0::PriorBoxClustered, ngraph::op::v0::PriorBox, ngraph::op::v1::Power, ngraph::op::v1::Pad, ngraph::op::v1::LogicalOr, ngraph::op::v1::NotEqual, ngraph::op::v1::LogicalNot, ngraph::op::v3::NonZero, ngraph::op::v0::Negative, ngraph::op::v1::Multiply, ngraph::op::v4::Mish, ngraph::op::v1::Minimum, ngraph::op::v1::ReduceMin, ngraph::op::v1::Maximum, ngraph::op::v1::MaxPool, ngraph::op::v1::ReduceMax, ngraph::op::v0::MatMul, ngraph::op::v5::Loop, ngraph::op::v0::Log, ngraph::op::v1::LessEqual, ngraph::op::v1::Less, ngraph::op::v4::Interpolate, ngraph::op::v4::HSwish, ngraph::op::v5::HSigmoid, ngraph::op::v1::GreaterEqual, ngraph::op::v1::Greater, ngraph::op::v1::Gather, ngraph::op::v1::FloorMod, ngraph::op::v0::Floor, ngraph::op::v0::Exp, ngraph::op::v0::Erf, ngraph::op::v1::Equal, ngraph::op::v1::Divide, ngraph::op::v0::DepthToSpace, ngraph::op::v0::Cosh, ngraph::op::v0::Cos, ngraph::op::v0::Convert, ngraph::op::v0::Constant, ngraph::op::v0::Concat, ngraph::op::v0::Ceiling, ngraph::op::v1::Broadcast, ngraph::op::v3::Broadcast, ngraph::op::v1::BatchToSpace, ngraph::op::v3::Atanh, ngraph::op::v0::Atan, ngraph::op::v3::Asinh, ngraph::op::v0::Asin, ngraph::op::v1::LogicalAnd, ngraph::op::v1::Add, ngraph::op::v3::Acosh, ngraph::op::v0::Acos, ngraph::op::v0::Abs, ngraph::op::v1::StridedSlice, ngraph::op::v0::ShapeOf, ngraph::op::v3::ShapeOf, ngraph::op::v1::Select, and ngraph::op::v1::OneHot.

◆ get_autob()

virtual const op::AutoBroadcastSpec& ngraph::Node::get_autob ( ) const
virtual

◆ get_default_output()

Output<const Node> ngraph::Node::get_default_output ( ) const

Return the output to use when converting to an Output<Node> with no index specified. Throws when not supported.

◆ get_friendly_name()

const std::string& ngraph::Node::get_friendly_name ( ) const

Gets the friendly name for a node. If no friendly name has been set via set_friendly_name then the node's unique name is returned.

Returns
A const reference to the node's friendly name.

◆ get_name()

const std::string& ngraph::Node::get_name ( ) const

Get the unique name of the node.

Returns
A const reference to the node's unique name.

◆ get_provenance_group_members()

const std::set<std::shared_ptr<Node> >& ngraph::Node::get_provenance_group_members ( ) const
Returns
Provenance group nodes

◆ get_type_info()

virtual const type_info_t& ngraph::Node::get_type_info ( ) const
pure virtual

Returns the NodeTypeInfo for the node's class. During transition to type_info, returns a dummy type_info for Node if the class has not been updated yet.

Implemented in ngraph::pattern::op::WrapType, ngraph::pattern::op::True, ngraph::pattern::op::Skip, ngraph::pattern::op::Or, ngraph::pattern::op::Label, ngraph::pattern::op::Capture, ngraph::pattern::op::Branch, ngraph::pattern::op::AnyOutput, ngraph::pattern::op::AnyOf, ngraph::pattern::op::Any, ngraph::op::v0::Xor, ngraph::op::util::ScatterNDBase, ngraph::op::util::ScatterBase, ngraph::op::util::EmbeddingBagPackedBase, ngraph::op::util::EmbeddingBagOffsetsBase, ngraph::op::v3::TopK, ngraph::op::v1::TopK, ngraph::op::v0::Tile, ngraph::op::v0::TensorIterator, ngraph::op::v0::Tanh, ngraph::op::v0::Tan, ngraph::op::v4::Swish, ngraph::op::v0::Sqrt, ngraph::op::v0::SpaceToDepth, ngraph::op::v1::SpaceToBatch, ngraph::op::v1::Softmax, ngraph::op::v0::Sinh, ngraph::op::v0::Sin, ngraph::op::v0::Sign, ngraph::op::v0::Sigmoid, ngraph::op::v0::ShuffleChannels, ngraph::op::v3::ShapeOf, ngraph::op::v3::ScatterUpdate, ngraph::op::v3::ScatterNDUpdate, ngraph::op::v3::ScatterElementsUpdate, ngraph::op::v0::ROIPooling, ngraph::op::v3::ROIAlign, ngraph::op::v0::RNNCell, ngraph::op::v0::ReverseSequence, ngraph::op::v1::Reverse, ngraph::op::v0::Result, ngraph::op::v0::ReorgYolo, ngraph::op::v0::RegionYolo, ngraph::op::v1::ReduceSum, ngraph::op::v1::ReduceProd, ngraph::op::v1::ReduceMean, ngraph::op::v4::ReduceL2, ngraph::op::v4::ReduceL1, ngraph::op::v0::Range, ngraph::op::v0::PSROIPooling, ngraph::op::v0::PriorBoxClustered, ngraph::op::v0::PriorBox, ngraph::op::v1::Power, ngraph::op::v0::Parameter, ngraph::op::v1::Pad, ngraph::op::v1::OneHot, ngraph::op::v3::NonZero, ngraph::op::v4::NonMaxSuppression, ngraph::op::v3::NonMaxSuppression, ngraph::op::v1::NonMaxSuppression, ngraph::op::v0::Negative, ngraph::op::v4::Mish, ngraph::op::v1::Minimum, ngraph::op::v1::ReduceMin, ngraph::op::v1::Maximum, ngraph::op::v1::ReduceMax, ngraph::op::v4::LSTMCell, ngraph::op::v0::LSTMCell, ngraph::op::v0::LRN, ngraph::op::v0::Log, ngraph::op::v3::GRUCell, ngraph::op::v1::GroupConvolutionBackpropData, ngraph::op::v1::GatherTree, ngraph::op::v1::Gather, ngraph::op::v1::FloorMod, ngraph::op::v0::Floor, ngraph::op::v3::ExtractImagePatches, ngraph::op::v0::Exp, ngraph::op::v0::Erf, ngraph::op::v3::EmbeddingBagPackedSum, ngraph::op::v3::EmbeddingBagOffsetsSum, ngraph::op::v3::EmbeddingSegmentsSum, ngraph::op::v0::Elu, ngraph::op::v0::DetectionOutput, ngraph::op::v1::DeformablePSROIPooling, ngraph::op::v1::DeformableConvolution, ngraph::op::v0::CumSum, ngraph::op::v4::CTCLoss, ngraph::op::v0::CTCGreedyDecoder, ngraph::op::v0::Cosh, ngraph::op::v0::Cos, ngraph::op::v1::ConvolutionBackpropData, ngraph::op::v1::ConvertLike, ngraph::op::v0::Constant, ngraph::op::v0::Ceiling, ngraph::op::v3::Bucketize, ngraph::op::v1::Broadcast, ngraph::op::v3::Broadcast, ngraph::op::v1::BinaryConvolution, ngraph::op::v1::BatchToSpace, ngraph::op::v3::Atanh, ngraph::op::v0::Atan, ngraph::op::v3::Asinh, ngraph::op::v0::Asin, ngraph::op::v3::Acosh, ngraph::op::v0::Acos, and ngraph::op::v0::Abs.

◆ get_version()

virtual size_t ngraph::Node::get_version ( ) const
inlinevirtual

◆ input() [1/2]

Input<Node> ngraph::Node::input ( size_t  input_index)
Returns
A handle to the input_indexth input of this node.
Exceptions
std::out_of_rangeif the node does not have at least input_index+1 inputs.

◆ input() [2/2]

Input<const Node> ngraph::Node::input ( size_t  input_index) const
Returns
A handle to the input_indexth input of this node.
Exceptions
std::out_of_rangeif the node does not have at least input_index+1 inputs.

◆ input_values()

std::vector<Output<Node> > ngraph::Node::input_values ( ) const
Returns
A vector containing the values for each input

◆ inputs() [1/2]

std::vector<Input<Node> > ngraph::Node::inputs ( )
Returns
A vector containing a handle for each of this node's inputs, in order.

◆ inputs() [2/2]

std::vector<Input<const Node> > ngraph::Node::inputs ( ) const
Returns
A vector containing a handle for each of this node's inputs, in order.

◆ output() [1/2]

Output<Node> ngraph::Node::output ( size_t  output_index)
Returns
A handle to the output_indexth output of this node.
Exceptions
std::out_of_rangeif the node does not have at least output_index+1 outputs.

◆ output() [2/2]

Output<const Node> ngraph::Node::output ( size_t  output_index) const
Returns
A handle to the output_indexth output of this node.
Exceptions
std::out_of_rangeif the node does not have at least output_index+1 outputs.

◆ outputs() [1/2]

std::vector<Output<Node> > ngraph::Node::outputs ( )
Returns
A vector containing a handle for each of this node's outputs, in order.

◆ outputs() [2/2]

std::vector<Output<const Node> > ngraph::Node::outputs ( ) const
Returns
A vector containing a handle for each of this node's outputs, in order.

◆ set_friendly_name()

void ngraph::Node::set_friendly_name ( const std::string &  name)

Sets a friendly name for a node. This does not overwrite the unique name of the node and is retrieved via get_friendly_name(). Used mainly for debugging. The friendly name may be set exactly once.

Parameters
nameis the friendly name to set

◆ set_input_is_relevant_to_shape()

void ngraph::Node::set_input_is_relevant_to_shape ( size_t  i,
bool  relevant = true 
)
protected

Marks an input as being relevant or irrelevant to the output shapes of this node.

Parameters
iThe index of the input to mark as relevant or irrelevant.
relevanttrue if the input is relevant to output shapes, false otherwise.

This is used by the shape specialization pass to know which nodes must be statically evaluated in order to complete shape specialization. (For example, the shape input of DynReshape must be evaluated statically in order for the output shape to be determined.) By default, all inputs are marked as shape-irrelevant. Overrides of validate_and_infer_types should call this function to mark shape-relevant inputs.

◆ set_input_is_relevant_to_value()

void ngraph::Node::set_input_is_relevant_to_value ( size_t  i,
bool  relevant = true 
)
protected

Marks an input as being relevant or irrelevant to the output values of this node.

Parameters
iThe index of the input to mark as relevant or irrelevant.
relevanttrue if the input is relevant to output values, false otherwise.

This is used by the shape specialization pass to cut short evaluation in cases where an input value does not actually have any effect on the output value of the node. (As of this writing, the only example of this is ShapeOf.) By default, all inputs are marked as value-relevant. Overrides of validate_and_infer_types should call this function to mark value-irrelevant inputs.

◆ validate_and_infer_types()

virtual void ngraph::Node::validate_and_infer_types ( )
virtual

Verifies that attributes and inputs are consistent and computes output shapes and element types. Must be implemented by concrete child classes so that it can be run any number of times.

Throws if the node is invalid.

Reimplemented in ngraph::op::v1::VariadicSplit, ngraph::op::util::UnaryElementwiseArithmetic, ngraph::op::util::ScatterNDBase, ngraph::op::util::ScatterBase, ngraph::op::util::LogicalReductionKeepDims, ngraph::op::util::LogicalReduction, ngraph::op::util::IndexReduction, ngraph::op::util::EmbeddingBagPackedBase, ngraph::op::util::EmbeddingBagOffsetsBase, ngraph::op::util::BroadcastBase, ngraph::op::util::BinaryElementwiseLogical, ngraph::op::util::BinaryElementwiseComparison, ngraph::op::util::BinaryElementwiseArithmetic, ngraph::op::util::ArithmeticReductionKeepDims, ngraph::op::util::ArithmeticReduction, ngraph::op::v0::Unsqueeze, ngraph::op::v1::Transpose, ngraph::op::v3::TopK, ngraph::op::v1::TopK, ngraph::op::v0::Tile, ngraph::op::v0::TensorIterator, ngraph::op::v4::Swish, ngraph::op::v1::StridedSlice, ngraph::op::v1::Split, ngraph::op::v0::SpaceToDepth, ngraph::op::v1::SpaceToBatch, ngraph::op::v4::SoftPlus, ngraph::op::v1::Softmax, ngraph::op::v0::ShuffleChannels, ngraph::op::v0::ShapeOf, ngraph::op::v3::ShapeOf, ngraph::op::v1::Select, ngraph::op::v3::ScatterElementsUpdate, ngraph::op::v5::Round, ngraph::op::v0::ROIPooling, ngraph::op::v3::ROIAlign, ngraph::op::v5::RNNSequence, ngraph::op::v0::RNNCell, ngraph::op::v0::ReverseSequence, ngraph::op::v1::Reverse, ngraph::op::v0::Result, ngraph::op::v1::Reshape, ngraph::op::v0::ReorgYolo, ngraph::op::v0::RegionYolo, ngraph::op::v6::ReadValue, ngraph::op::v3::ReadValue, ngraph::op::v0::Range, ngraph::op::v4::Range, ngraph::op::v0::PSROIPooling, ngraph::op::v4::Proposal, ngraph::op::v0::Proposal, ngraph::op::v0::PriorBoxClustered, ngraph::op::v0::PriorBox, ngraph::op::v0::Parameter, ngraph::op::v1::Pad, ngraph::op::v1::OneHot, ngraph::op::v1::LogicalNot, ngraph::op::v3::NonZero, ngraph::op::v5::NonMaxSuppression, ngraph::op::v4::NonMaxSuppression, ngraph::op::v3::NonMaxSuppression, ngraph::op::v1::NonMaxSuppression, ngraph::op::v6::MVN, ngraph::op::v4::Mish, ngraph::op::v1::MaxPool, ngraph::op::v0::MatMul, ngraph::op::v5::LSTMSequence, ngraph::op::v4::LSTMCell, ngraph::op::v0::LSTMCell, ngraph::op::v0::LRN, ngraph::op::v5::Loop, ngraph::op::v5::LogSoftmax, ngraph::op::v4::Interpolate, ngraph::op::v0::Interpolate, ngraph::op::v5::GRUSequence, ngraph::op::v3::GRUCell, ngraph::op::v1::GroupConvolutionBackpropData, ngraph::op::v1::GroupConvolution, ngraph::op::v1::GatherTree, ngraph::op::v5::GatherND, ngraph::op::v6::GatherElements, ngraph::op::v1::Gather, ngraph::op::v0::FakeQuantize, ngraph::op::v3::ExtractImagePatches, ngraph::op::v6::ExperimentalDetectronTopKROIs, ngraph::op::v6::ExperimentalDetectronROIFeatureExtractor, ngraph::op::v6::ExperimentalDetectronPriorGridGenerator, ngraph::op::v6::ExperimentalDetectronGenerateProposalsSingleImage, ngraph::op::v6::ExperimentalDetectronDetectionOutput, ngraph::op::v3::EmbeddingSegmentsSum, ngraph::op::v0::Elu, ngraph::op::v0::DetectionOutput, ngraph::op::v0::DepthToSpace, ngraph::op::v1::DeformablePSROIPooling, ngraph::op::v1::DeformableConvolution, ngraph::op::v0::CumSum, ngraph::op::v4::CTCLoss, ngraph::op::v6::CTCGreedyDecoderSeqLen, ngraph::op::v0::CTCGreedyDecoder, ngraph::op::v1::ConvolutionBackpropData, ngraph::op::v1::Convolution, ngraph::op::v1::ConvertLike, ngraph::op::v0::Convert, ngraph::op::v0::Constant, ngraph::op::v0::Concat, ngraph::op::v3::Bucketize, ngraph::op::v1::Broadcast, ngraph::op::v3::Broadcast, ngraph::op::v1::BinaryConvolution, ngraph::op::v1::BatchToSpace, ngraph::op::v5::BatchNormInference, ngraph::op::v0::BatchNormInference, ngraph::op::v1::AvgPool, ngraph::op::v6::Assign, and ngraph::op::v3::Assign.

◆ write_description()

virtual std::ostream& ngraph::Node::write_description ( std::ostream &  os,
uint32_t  depth = 0 
) const
virtual

Writes a description of a node to a stream.

Parameters
osThe stream; should be returned
depthHow many levels of inputs to describe
Returns
The stream os

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