CreatePrepackedWeightsContainer property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<Pointer<OrtPrepackedWeightsContainer> > out)> >
CreatePrepackedWeightsContainer
getter/setter pair
\brief Create an ::OrtPrepackedWeightsContainer
This container will hold pre-packed buffers of shared initializers for sharing between sessions (i.e.) if there are shared initializers that can be shared between sessions, the pre-packed buffers of these (if any) may possibly be shared to provide memory footprint savings. Pass this container to sessions that you would like to share pre-packed buffers of shared initializers at session creation time.
\paramout out Newly created ::OrtPrepackedWeightsContainer. Must be freed with OrtApi::ReleasePrepackedWeightsContainer
\snippet{doc} snippets.dox OrtStatus Return Value
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<ffi.Pointer<OrtPrepackedWeightsContainer>> out,
)
>
>
CreatePrepackedWeightsContainer;