![]() |
ONNX Runtime
|
The PrepackedWeightsContainer. More...
#include <onnxruntime_cxx_api.h>
Public Types | |
using | Base = detail::Base< OrtPrepackedWeightsContainer > |
No instance is created. | |
![]() | |
using | contained_type = OrtPrepackedWeightsContainer |
Public Member Functions | |
PrepackedWeightsContainer (std::nullptr_t) | |
Take ownership of a pointer created by C API. | |
PrepackedWeightsContainer (OrtPrepackedWeightsContainer *p) | |
PrepackedWeightsContainer () | |
Wraps OrtApi::CreatePrepackedWeightsContainer. | |
![]() | |
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 |
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_ |
The PrepackedWeightsContainer.
Create only and pass to Ort::Session constructor for multiple sessions to share pre-packed weights.
No instance is created.
|
inlineexplicit |
Take ownership of a pointer created by C API.
|
inlineexplicit |
Ort::PrepackedWeightsContainer::PrepackedWeightsContainer | ( | ) |