Wrapper around OrtNode.
More...
#include <onnxruntime_cxx_api.h>
|
| 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.
|
|
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 |
|
contained_type * | release () |
| Relinquishes ownership of the contained C object pointer The underlying object is not destroyed.
|
|
◆ Node() [1/4]
Ort::Node::Node |
( |
std::nullptr_t |
| ) |
|
|
inlineexplicit |
◆ Node() [2/4]
Take ownership of a pointer created by C API.
◆ Node() [3/4]
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() [4/4]
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.