Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Runtime)
Option is a functional option for configuring Runtime
func WithLibraryPath ¶
WithLibraryPath sets a direct path to the ONNX Runtime library
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime manages ONNX Runtime initialization and configuration
func (*Runtime) EnsureRuntime ¶
EnsureRuntime downloads and extracts the ONNX Runtime library
func (*Runtime) RuntimeInfo ¶
func (r *Runtime) RuntimeInfo() *RuntimeInfo
GetRuntimeInfo returns information about the current runtime
func (*Runtime) RuntimeURL ¶
func (r *Runtime) RuntimeURL(info *RuntimeInfo) string
RuntimeURL returns the download URL for a specific runtime
Click to show internal directories.
Click to hide internal directories.