Learn R Programming

ggmlR (version 0.8.1)

onnx_run: Run ONNX model inference

Description

Run ONNX model inference

Usage

onnx_run(model, inputs)

Value

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

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.