class

Onnx::Session

Inherits Reference < Object

An inference session over a .onnx model file.

Constructors

new(path : String, threads : Int32 = 1)
Source

Instance methods

finalize
Source
input_count
Source
input_names
Source
output_count
Source
output_names
Source
run(inputs : Hash(String, Value)) : Hash(String, Value)
Source