HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
onnxruntime::Node::Definitions Class Reference

#include <graph.h>

Public Member Functions

 Definitions ()=default
 
 ORT_DISALLOW_COPY_ASSIGNMENT_AND_MOVE (Definitions)
 

Public Attributes

std::vector< NodeArg * > input_defs
 
std::vector< intinput_arg_count
 
std::vector< NodeArg * > output_defs
 
std::vector< NodeArg * > implicit_input_defs
 

Detailed Description

The input and output definitions for this Node.

Definition at line 510 of file graph.h.

Constructor & Destructor Documentation

onnxruntime::Node::Definitions::Definitions ( )
default

Member Function Documentation

onnxruntime::Node::Definitions::ORT_DISALLOW_COPY_ASSIGNMENT_AND_MOVE ( Definitions  )

Member Data Documentation

std::vector<NodeArg*> onnxruntime::Node::Definitions::implicit_input_defs

The Node's implicit input definitions if the Node contains one or more subgraphs (i.e. GraphProto attributes) and the subgraph/s implicitly consume these values.

Remarks
For example, a subgraph in an 'If' node gets all its input values via this mechanism rather than there being explicit inputs to the 'If' node that are passed to the subgraph. They are pseudo-inputs to this Node as it has an implicit dependency on them.

Definition at line 533 of file graph.h.

std::vector<int> onnxruntime::Node::Definitions::input_arg_count

The number of inputs for each argument of the operator or function which this node refers.

Remarks
For example, input_defs has 10 elements (inputs), and input_arg_count is {4, 6}. This means that 4 elements (inputs) of input_defs map to the first argument of the operator or function, and the other 6 map to the second argument.

Definition at line 523 of file graph.h.

std::vector<NodeArg*> onnxruntime::Node::Definitions::input_defs

The Node's explicit input definitions.

Definition at line 515 of file graph.h.

std::vector<NodeArg*> onnxruntime::Node::Definitions::output_defs

The Node's output definitions.

Definition at line 526 of file graph.h.


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