![]() |
ONNX Runtime
|
Wrapper around OrtGraph. More...
#include <onnxruntime_cxx_api.h>
Public Member Functions | |
| Graph (std::nullptr_t) | |
| No instance is created. | |
| Graph (OrtGraph *p) | |
| Take ownership of a pointer created by C API. | |
| Graph () | |
Public Member Functions inherited from Ort::detail::GraphImpl< OrtGraph > | |
| 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< 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. | |
Public Member Functions inherited from Ort::detail::Base< T > | |
| 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 | |
Public Types inherited from Ort::detail::GraphImpl< OrtGraph > | |
| using | B = ConstGraphImpl< OrtGraph > |
| using | B = Base< OrtGraph > |
Public Types inherited from Ort::detail::ConstGraphImpl< T > | |
| using | B = Base< T > |
Public Types inherited from Ort::detail::Base< T > | |
| using | contained_type = T |
Protected Attributes inherited from Ort::detail::Base< T > | |
| contained_type * | p_ {} |
Wrapper around OrtGraph.
|
inlineexplicit |
No instance is created.
|
inlineexplicit |
Take ownership of a pointer created by C API.
| Ort::Graph::Graph | ( | ) |