CreateEnvWithOptions property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtEnvCreationOptions> options, Pointer<Pointer<OrtEnv>> out)>> CreateEnvWithOptions
getter/setter pair

\brief Create an OrtEnv instance with the given options.

\note Invoking this function will return the same instance of the environment as that returned by a previous call to another env creation function; all arguments to this function will be ignored.

\paramin options The OrtEnvCreationOptions instance that contains creation options. \paramout out Output parameter set to the new OrtEnv instance. Must be freed with OrtApi::ReleaseEnv.

\snippet{doc} snippets.dox OrtStatus Return Value

\since Version 1.24

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtEnvCreationOptions> options,
      ffi.Pointer<ffi.Pointer<OrtEnv>> out,
    )
  >
>
CreateEnvWithOptions;