GetCompileApi property

Pointer<NativeFunction<Pointer<OrtCompileApi> Function()>> GetCompileApi
getter/setter pair

\brief Get the Compile API instance.

Get the Compile API instance to compile ONNX models. Execution providers that support compilation fuse a subgraph into an EPContext node that wraps a provider-specific binary representation of the subgraph. For more details about the EPContext design, refer to: \htmlonly EPContext design document. \endhtmlonly

\return Compile API struct instance.

\since Version 1.22.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<ffi.Pointer<OrtCompileApi> Function()>
>
GetCompileApi;