EnableMemPattern property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtSessionOptions> options)> >
EnableMemPattern
getter/setter pair
\brief Enable the memory pattern optimization
The idea is if the input shapes are the same, we could trace the internal memory allocation and generate a memory pattern for future request. So next time we could just do one allocation with a big chunk for all the internal memory allocation. \note Memory pattern optimization is only available when Sequential Execution mode is enabled (see OrtApi::SetSessionExecutionMode)
\see OrtApi::DisableMemPattern
\paramin options
\snippet{doc} snippets.dox OrtStatus Return Value
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(ffi.Pointer<OrtSessionOptions> options)
>
>
EnableMemPattern;