Wrapper around OrtNode.
More...
#include <onnxruntime_cxx_api.h>
|
| | Node ()=default |
| |
| | Node (std::nullptr_t) |
| | No instance is created.
|
| |
| | Node (OrtNode *p) |
| | Take ownership of a pointer created by C API.
|
| |
| | Node (const std::string &operator_name, const std::string &operator_domain, const std::string &node_name, const std::vector< std::string > &input_names, const std::vector< std::string > &output_names) |
| |
| | Node (const std::string &operator_name, const std::string &operator_domain, const std::string &node_name, const std::vector< std::string > &input_names, const std::vector< std::string > &output_names, std::vector< OpAttr > &attributes) |
| | Wraps CreateNode. Node takes ownership of attributes on success and updates the OpAttr in attributes to do so.
|
| |
| size_t | GetId () const |
| |
| std::string | GetName () const |
| |
| std::string | GetOperatorType () const |
| |
| std::string | GetDomain () const |
| |
| int | GetSinceVersion () const |
| |
| std::vector< ConstValueInfo > | GetInputs () const |
| |
| std::vector< ConstValueInfo > | GetOutputs () const |
| |
| std::vector< ConstValueInfo > | GetImplicitInputs () const |
| |
| std::vector< ConstOpAttr > | GetAttributes () const |
| |
| Status | GetAttributeByName (const std::string &name, ConstOpAttr &attr) const |
| |
| std::vector< AttrNameSubgraph > | GetSubgraphs () const |
| |
| ConstGraphImpl< detail::Unowned< const OrtGraph > > | GetGraph () const |
| |
| std::string | GetEpName () const |
| |
| constexpr | Base ()=default |
| |
| constexpr | Base (contained_type *p) noexcept |
| |
| | ~Base () |
| |
| | Base (const Base &)=delete |
| |
| Base & | operator= (const Base &)=delete |
| |
| | Base (Base &&v) noexcept |
| |
| Base & | operator= (Base &&v) noexcept |
| |
| constexpr | operator contained_type * () const noexcept |
| |
| constexpr contained_type & | operator* () const noexcept |
| |
| contained_type * | release () |
| | Relinquishes ownership of the contained C object pointer The underlying object is not destroyed.
|
| |
◆ Node() [1/5]
◆ Node() [2/5]
| Ort::Node::Node |
( |
std::nullptr_t |
| ) |
|
|
inlineexplicit |
◆ Node() [3/5]
Take ownership of a pointer created by C API.
◆ Node() [4/5]
| Ort::Node::Node |
( |
const std::string & |
operator_name, |
|
|
const std::string & |
operator_domain, |
|
|
const std::string & |
node_name, |
|
|
const std::vector< std::string > & |
input_names, |
|
|
const std::vector< std::string > & |
output_names |
|
) |
| |
◆ Node() [5/5]
| Ort::Node::Node |
( |
const std::string & |
operator_name, |
|
|
const std::string & |
operator_domain, |
|
|
const std::string & |
node_name, |
|
|
const std::vector< std::string > & |
input_names, |
|
|
const std::vector< std::string > & |
output_names, |
|
|
std::vector< OpAttr > & |
attributes |
|
) |
| |
Wraps CreateNode. Node takes ownership of attributes on success and updates the OpAttr in attributes to do so.