Struct EnvironmentCreationOptions
Options you might want to supply when creating the environment. Everything is optional.
Namespace: Microsoft.ML.OnnxRuntime
Assembly: Microsoft.ML.OnnxRuntime.dll
Syntax
public struct EnvironmentCreationOptions
Fields
| Improve this Doc View SourceloggingFunction
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 IntPtr? loggingParam
Field Value
Type | Description |
---|---|
System.Nullable<><IntPtr> |
logId
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 |
---|---|
System.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 |
---|---|
System.Nullable<><OrtLoggingLevel> |
threadOptions
Supply OrtThreadingOptions instance, otherwise null
Declaration
public OrtThreadingOptions threadOptions
Field Value
Type | Description |
---|---|
OrtThreadingOptions |