onnx_run: Run ONNX model inference

View source: R/onnx.R

onnx_runR Documentation

Run ONNX model inference

Description

Run ONNX model inference

Usage

onnx_run(model, inputs)

Arguments

model

An onnx_model object from onnx_load().

inputs

A named list of numeric vectors/matrices. Names must match the model's input tensor names. Use onnx_inputs() to see expected names and shapes.

Value

A named list of output tensors (numeric vectors with dim attributes for multi-dimensional outputs).


ggmlR documentation built on July 14, 2026, 1:08 a.m.