Onnx::RT
Loads libonnxruntime through dlopen and exposes the OrtApi struct.
Constants
DEFAULT_LIBS = ["libonnxruntime.so.1.21", "libonnxruntime.so.1", "libonnxruntime.so"] of ::String
Class methods
allocator
Sourceapi
SourceRaises Onnx::Error with the message from an OrtStatus and releases it.
env
Sourcelib_paths
SourceResolves a symbol in a library handle; raises when missing.
memory_info
SourceLoads the first library in paths that opens successfully
(dlopen on Unix, LoadLibraryA on Windows). Raises with the full
candidate list otherwise — the shared entry point used by this shard
and by examples binding their own libraries (espeak-ng, ...).