ONNX Runtime
|
#include <onnxruntime_cxx_api.h>
Public Member Functions | |
CustomOpDomain (std::nullptr_t) | |
Create an empty CustomOpDomain object, must be assigned a valid one to be used. | |
CustomOpDomain (const char *domain) | |
Wraps OrtApi::CreateCustomOpDomain. | |
void | Add (const OrtCustomOp *op) |
Wraps CustomOpDomain_Add. | |
Public Member Functions inherited from Ort::detail::Base< OrtCustomOpDomain > | |
constexpr | Base ()=default |
constexpr | Base (contained_type *p) noexcept |
Base (const Base &)=delete | |
Base (Base &&v) noexcept | |
~Base () | |
Base & | operator= (const Base &)=delete |
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. | |
Additional Inherited Members | |
Public Types inherited from Ort::detail::Base< OrtCustomOpDomain > | |
using | contained_type = OrtCustomOpDomain |
Protected Attributes inherited from Ort::detail::Base< OrtCustomOpDomain > | |
contained_type * | p_ |
Custom Op Domain.
|
inlineexplicit |
Create an empty CustomOpDomain object, must be assigned a valid one to be used.
|
explicit |
Wraps OrtApi::CreateCustomOpDomain.
void Ort::CustomOpDomain::Add | ( | const OrtCustomOp * | op | ) |
Wraps CustomOpDomain_Add.