Show / Hide Table of Contents

Struct EnvironmentCreationOptions

Options you might want to supply when creating the environment. Everything is optional.

Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Namespace: Microsoft.ML.OnnxRuntime
Assembly: Microsoft.ML.OnnxRuntime.dll
Syntax
public struct EnvironmentCreationOptions

Fields

| Improve this Doc View Source

loggingFunction

Supply custom logging function otherwise null

Declaration
public DOrtLoggingFunction loggingFunction
Field Value
Type Description
DOrtLoggingFunction
| Improve this Doc View Source

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
Nullable<IntPtr>
| Improve this Doc View Source

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
String
| Improve this Doc View Source

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
Nullable<OrtLoggingLevel>
| Improve this Doc View Source

threadOptions

Supply OrtThreadingOptions instance, otherwise null

Declaration
public OrtThreadingOptions threadOptions
Field Value
Type Description
OrtThreadingOptions
  • Improve this Doc
  • View Source
In This Article
Back to top