|
| Node ()=default |
|
| Node (std::string_view name, std::string_view op_type, std::string_view description, gsl::span< NodeArg *const > input_args, gsl::span< NodeArg *const > output_args, const NodeAttributes *attributes, std::string_view domain) |
|
| ~Node ()=default |
|
NodeIndex | Index () const noexcept |
|
const std::string & | Name () const noexcept |
|
const std::string & | OpType () const noexcept |
|
const std::string & | Domain () const noexcept |
|
const Path & | ModelPath () const noexcept |
|
int | Priority () const noexcept |
|
void | SetPriority (int priority) noexcept |
|
const std::string & | Description () const noexcept |
|
Node::Type | NodeType () const noexcept |
|
int | SinceVersion () const noexcept |
|
void | SetSinceVersion (int since_version) noexcept |
|
const ONNX_NAMESPACE::OpSchema * | Op () const noexcept |
|
bool | TryGetFunctionProto (ONNX_NAMESPACE::FunctionProto &func_proto) const |
|
bool | CanBeInlined () const |
|
const Function * | GetFunctionBody () const noexcept |
|
const std::vector< int > & | InputArgCount () const noexcept |
|
ConstPointerContainer
< std::vector< NodeArg * > > | InputDefs () const noexcept |
|
ConstPointerContainer
< std::vector< NodeArg * > > | ImplicitInputDefs () const noexcept |
|
ConstPointerContainer
< std::vector< NodeArg * > > | OutputDefs () const noexcept |
|
std::vector< NodeArg * > & | MutableImplicitInputDefs () noexcept |
|
std::vector< int > & | MutableInputArgsCount () |
|
std::vector< NodeArg * > & | MutableInputDefs () noexcept |
|
std::vector< NodeArg * > & | MutableOutputDefs () noexcept |
|
NodeConstIterator | InputNodesBegin () const noexcept |
|
NodeConstIterator | InputNodesEnd () const noexcept |
|
NodeConstIterator | OutputNodesBegin () const noexcept |
|
NodeConstIterator | OutputNodesEnd () const noexcept |
|
EdgeConstIterator | InputEdgesBegin () const noexcept |
|
EdgeConstIterator | InputEdgesEnd () const noexcept |
|
EdgeConstIterator | OutputEdgesBegin () const noexcept |
|
EdgeConstIterator | OutputEdgesEnd () const noexcept |
|
const std::set< std::string > & | ControlInputs () const noexcept |
|
size_t | GetInputEdgesCount () const noexcept |
|
size_t | GetOutputEdgesCount () const noexcept |
|
void | AddAttributeProto (ONNX_NAMESPACE::AttributeProto value) |
|
void | AddAttribute (std::string attr_name, int64_t value) |
|
void | AddAttribute (std::string attr_name, gsl::span< const int64_t > values) |
|
| ADD_ATTR_INTERFACES (float) |
|
| ADD_ATTR_INTERFACES (std::string) |
|
| ADD_ATTR_INTERFACES (ONNX_NAMESPACE::TensorProto) |
|
| ADD_ATTR_INTERFACES (ONNX_NAMESPACE::SparseTensorProto) |
|
| ADD_ATTR_INTERFACES (ONNX_NAMESPACE::TypeProto) |
|
| ADD_ATTR_SINGLE_INTERFACE (ONNX_NAMESPACE::GraphProto) |
|
template<size_t N> |
void | AddAttribute (std::string attr_name, const char(&value)[N]) |
|
const NodeAttributes & | GetAttributes () const noexcept |
|
bool | ClearAttribute (const std::string &attr_name) |
|
NodeAttributes & | GetMutableAttributes () noexcept |
|
const Graph * | GetGraphAttribute (const std::string &attr_name) const |
|
Graph * | GetMutableGraphAttribute (const std::string &attr_name) |
|
bool | ContainsSubgraph () const |
|
std::vector< gsl::not_null
< const Graph * > > | GetSubgraphs () const |
|
const std::unordered_map
< std::string, gsl::not_null
< Graph * > > & | GetAttributeNameToMutableSubgraphMap () |
|
std::unordered_map
< std::string, gsl::not_null
< const Graph * > > | GetAttributeNameToSubgraphMap () const |
|
ProviderType | GetExecutionProviderType () const noexcept |
|
void | SetExecutionProviderType (ProviderType execution_provider_type) |
|
void | ForEachDef (std::function< void(const onnxruntime::NodeArg &, bool is_input)> func, bool include_missing_optional_defs=false) const |
|
void | ReplaceDefs (const std::map< const onnxruntime::NodeArg *, onnxruntime::NodeArg * > &replacements) |
|
void | ToProto (ONNX_NAMESPACE::NodeProto &proto, bool update_subgraphs=false) const |
|
Status | SaveToOrtFormat (flatbuffers::FlatBufferBuilder &builder, flatbuffers::Offset< onnxruntime::fbs::Node > &fbs_node) const |
|
flatbuffers::Offset
< onnxruntime::fbs::NodeEdge > | SaveEdgesToOrtFormat (flatbuffers::FlatBufferBuilder &builder) const |
|
void | SetFunctionTemplate (const FunctionTemplate &func_template) |
|
Status | LoadFromOrtFormat (const onnxruntime::fbs::Node &fbs_node, const OrtFormatLoadOptions &load_options, const logging::Logger &logger) |
|
Status | LoadEdgesFromOrtFormat (const onnxruntime::fbs::NodeEdge &fbs_node_edgs, const Graph &graph) |
|
| Node (NodeIndex index, Graph &graph) |
|
Class representing a node in the graph.
Definition at line 77 of file graph.h.