OrtSessionOptionsAppendExecutionProvider_Dnnl method

OrtStatusPtr OrtSessionOptionsAppendExecutionProvider_Dnnl(
  1. Pointer<OrtSessionOptions> options,
  2. int use_arena
)

This is the old way to add the oneDNN provider to the session, please use SessionOptionsAppendExecutionProvider_oneDNN above to access the latest functionality This function always exists, but will only succeed if Onnxruntime was built with oneDNN support and the oneDNN provider shared library exists

\param use_arena zero: false. non-zero: true.

Implementation

OrtStatusPtr OrtSessionOptionsAppendExecutionProvider_Dnnl(
  ffi.Pointer<OrtSessionOptions> options,
  int use_arena,
) {
  return _OrtSessionOptionsAppendExecutionProvider_Dnnl(options, use_arena);
}