class

OnnxRuntime::RunOptions

Inherits Reference / Object

RunOptions class provides options for inference execution.

Constructors

new(session : InferenceSession)

Creates a new RunOptions instance.

Source

Instance methods

finalize

Finalizer to release resources

Source
log_severity_level=(level : Int32)

Set run log severity level

Source
log_verbosity_level=(level : Int32)

Set run log verbosity level

Source
release

Explicitly release resources

Source
tag=(tag : String)

Set run tag

Source
terminate

Set terminate flag

Source
to_unsafe

Get the underlying OrtRunOptions pointer

Source