![]() |
ONNX Runtime
|
#include <onnxruntime_cxx_api.h>
Public Types | |
using | B = ConstGraphImpl< T > |
using | B = Base< T > |
![]() | |
using | B = Base< T > |
![]() | |
using | contained_type = T |
Public Member Functions | |
void | SetInputs (std::vector< ValueInfo > &inputs) |
void | SetOutputs (std::vector< ValueInfo > &outputs) |
void | AddInitializer (const std::string &name, Value &initializer, bool data_is_external) |
void | AddNode (Node &node) |
![]() | |
std::string | GetName () const |
std::basic_string< char > | GetModelPath () const |
int64_t | GetOnnxIRVersion () const |
std::vector< OperatorSet > | GetOperatorSets () const |
std::vector< ConstValueInfo > | GetInputs () const |
std::vector< ConstValueInfo > | GetOutputs () const |
std::vector< ConstValueInfo > | GetInitializers () const |
std::vector< ConstNode > | GetNodes () const |
ConstNode | GetParentNode () const |
Graph | GetGraphView (const std::vector< ConstNode > &nodes) const |
ModelMetadata | GetModelMetadata () const |
Wraps OrtApi::Graph_GetModelMetadata. | |
![]() | |
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. | |
Additional Inherited Members | |
![]() | |
contained_type * | p_ {} |
using Ort::detail::GraphImpl< T >::B = ConstGraphImpl<T> |
using Ort::detail::ConstGraphImpl< T >::B = Base<T> |
void Ort::detail::GraphImpl< T >::AddInitializer | ( | const std::string & | name, |
Value & | initializer, | ||
bool | data_is_external | ||
) |
void Ort::detail::GraphImpl< T >::AddNode | ( | Node & | node | ) |
void Ort::detail::GraphImpl< T >::SetInputs | ( | std::vector< ValueInfo > & | inputs | ) |
void Ort::detail::GraphImpl< T >::SetOutputs | ( | std::vector< ValueInfo > & | outputs | ) |