HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Ort::OpAttr Struct Reference

This struct provides life time management for custom op attribute More...

#include <onnxruntime_cxx_api.h>

+ Inheritance diagram for Ort::OpAttr:

Public Member Functions

 OpAttr (const char *name, const void *data, int len, OrtOpAttrType type)
 
- Public Member Functions inherited from Ort::detail::Base< OrtOpAttr >
constexpr Base ()=default
 
constexpr Base (contained_type *p) noexcept
 
 Base (const Base &)=delete
 
 Base (Base &&v) noexcept
 
 ~Base ()
 
Baseoperator= (const Base &)=delete
 
Baseoperator= (Base &&v) noexcept
 
constexpr operator contained_type * () const noexcept
 
contained_typerelease ()
 Relinquishes ownership of the contained C object pointer The underlying object is not destroyed. More...
 

Additional Inherited Members

- Public Types inherited from Ort::detail::Base< OrtOpAttr >
using contained_type = OrtOpAttr
 
- Protected Attributes inherited from Ort::detail::Base< OrtOpAttr >
contained_typep_
 

Detailed Description

This struct provides life time management for custom op attribute

Definition at line 1488 of file onnxruntime_cxx_api.h.

Constructor & Destructor Documentation

Ort::OpAttr::OpAttr ( const char *  name,
const void data,
int  len,
OrtOpAttrType  type 
)
inline

Definition at line 1462 of file onnxruntime_cxx_inline.h.


The documentation for this struct was generated from the following files: