![]() |
ONNX Runtime
|
The PrepackedWeightsContainer. More...
#include <onnxruntime_cxx_api.h>
Public Types | |
| using | Base = detail::Base< OrtPrepackedWeightsContainer > |
| No instance is created. | |
Public Types inherited from Ort::detail::Base< OrtPrepackedWeightsContainer > | |
| 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. | |
Public Member Functions inherited from Ort::detail::Base< OrtPrepackedWeightsContainer > | |
| 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 | |
Protected Attributes inherited from Ort::detail::Base< OrtPrepackedWeightsContainer > | |
| 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 | ( | ) |