GetDnnlProviderOptionsAsString property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtDnnlProviderOptions> dnnl_options, Pointer<OrtAllocator> allocator, Pointer<Pointer<Char>> ptr)>> GetDnnlProviderOptionsAsString
getter/setter pair

Get serialized oneDNN provider options string.

For example, "use_arena=1;......"

\param dnnl_options - OrtDnnlProviderOptions instance \param allocator - a ptr to an instance of OrtAllocator obtained with CreateAllocator() or GetAllocatorWithDefaultOptions() the specified allocator will be used to allocate continuous buffers for output strings and lengths. \param ptr - is a UTF-8 null terminated string allocated using 'allocator'. The caller is responsible for using the same allocator to free it.

\snippet{doc} snippets.dox OrtStatus Return Value

\since Version 1.15.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtDnnlProviderOptions> dnnl_options,
      ffi.Pointer<OrtAllocator> allocator,
      ffi.Pointer<ffi.Pointer<ffi.Char>> ptr,
    )
  >
>
GetDnnlProviderOptionsAsString;