ONNX Runtime
Loading...
Searching...
No Matches
Ort::detail::GraphImpl< T > Struct Template Reference

#include <onnxruntime_cxx_api.h>

Inheritance diagram for Ort::detail::GraphImpl< T >:
Ort::detail::ConstGraphImpl< T > Ort::detail::Base< T >

Public Types

using B = ConstGraphImpl< T >
 
using B = Base< T >
 
- Public Types inherited from Ort::detail::ConstGraphImpl< T >
using B = Base< T >
 
- Public Types inherited from Ort::detail::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)
 
- Public Member Functions inherited from Ort::detail::ConstGraphImpl< T >
std::string GetName () const
 
std::basic_string< char > GetModelPath () const
 
int64_t GetOnnxIRVersion () const
 
std::vector< OperatorSetGetOperatorSets () const
 
std::vector< ConstValueInfoGetInputs () const
 
std::vector< ConstValueInfoGetOutputs () const
 
std::vector< ConstValueInfoGetInitializers () const
 
std::vector< ConstNodeGetNodes () const
 
ConstNode GetParentNode () const
 
Graph GetGraphView (const std::vector< ConstNode > &nodes) const
 
ModelMetadata GetModelMetadata () const
 Wraps OrtApi::Graph_GetModelMetadata.
 
- Public Member Functions inherited from Ort::detail::Base< T >
constexpr Base ()=default
 
constexpr Base (contained_type *p) noexcept
 
 ~Base ()
 
 Base (const Base &)=delete
 
Baseoperator= (const Base &)=delete
 
 Base (Base &&v) noexcept
 
Baseoperator= (Base &&v) noexcept
 
constexpr operator contained_type * () const noexcept
 
constexpr contained_typeoperator* () const noexcept
 
contained_typerelease ()
 Relinquishes ownership of the contained C object pointer The underlying object is not destroyed.
 

Additional Inherited Members

- Protected Attributes inherited from Ort::detail::Base< T >
contained_typep_ {}
 

Member Typedef Documentation

◆ B [1/2]

template<typename T >
using Ort::detail::GraphImpl< T >::B = ConstGraphImpl<T>

◆ B [2/2]

template<typename T >
using Ort::detail::ConstGraphImpl< T >::B = Base<T>

Member Function Documentation

◆ AddInitializer()

template<typename T >
void Ort::detail::GraphImpl< T >::AddInitializer ( const std::string &  name,
Value initializer,
bool  data_is_external 
)

◆ AddNode()

template<typename T >
void Ort::detail::GraphImpl< T >::AddNode ( Node node)

◆ SetInputs()

template<typename T >
void Ort::detail::GraphImpl< T >::SetInputs ( std::vector< ValueInfo > &  inputs)

◆ SetOutputs()

template<typename T >
void Ort::detail::GraphImpl< T >::SetOutputs ( std::vector< ValueInfo > &  outputs)