Struct EnvironmentCreationOptions
Options you might want to supply when creating the environment. Everything is optional.
Inherited Members
Namespace: Microsoft.ML.OnnxRuntime
Assembly: Microsoft.ML.OnnxRuntime.dll
Syntax
public struct EnvironmentCreationOptions
Fields
| Improve this Doc View SourcelogId
Supply a log id to identify the application using ORT, otherwise, a default one will be used
Declaration
public string logId
Field Value
| Type | Description |
|---|---|
| string |
logLevel
Initial logging level so that you can see what is going on during environment creation Default is LogLevel.Warning
Declaration
public OrtLoggingLevel? logLevel
Field Value
| Type | Description |
|---|---|
| OrtLoggingLevel? |
loggingFunction
Supply custom logging function otherwise null
Declaration
public DOrtLoggingFunction loggingFunction
Field Value
| Type | Description |
|---|---|
| DOrtLoggingFunction |
loggingParam
Supply IntPtr logging param when registering logging function, otherwise IntPtr.Zero This param will be passed to the logging function when called, it is opaque for the API
Declaration
public nint? loggingParam
Field Value
| Type | Description |
|---|---|
| nint? |
threadOptions
Supply OrtThreadingOptions instance, otherwise null
Declaration
public OrtThreadingOptions threadOptions
Field Value
| Type | Description |
|---|---|
| OrtThreadingOptions |