class
OnnxRuntime::RunOptions
- OnnxRuntime::RunOptions
- Reference
- Object
Overview
RunOptions class provides options for inference execution.
Defined in:
onnxruntime/run_options.crConstructors
-
.new(session : InferenceSession)
Creates a new RunOptions instance.
Instance Method Summary
-
#finalize
Finalizer to release resources
-
#log_severity_level=(level : Int32)
Set run log severity level
-
#log_verbosity_level=(level : Int32)
Set run log verbosity level
-
#release
Explicitly release resources
-
#tag=(tag : String)
Set run tag
-
#terminate
Set terminate flag
-
#to_unsafe : Pointer(OnnxRuntime::LibOnnxRuntime::OrtRunOptions)
Get the underlying OrtRunOptions pointer
Constructor Detail
Instance Method Detail
def to_unsafe : Pointer(OnnxRuntime::LibOnnxRuntime::OrtRunOptions)
#
Get the underlying OrtRunOptions pointer