onnx_model_path: Get Model Path

View source: R/onnx_interface.R

onnx_model_pathR Documentation

Get Model Path

Description

Get the model path from a session.

Usage

onnx_model_path(session)

Arguments

session

An RSession object created by onnx_session()

Value

Character string with the model path

Examples

if (check_onnx_runtime_available()) {
  session <- onnx_example_session()
  model_path <- onnx_model_path(session)
  cat("Model path:", model_path, "\n")
}

churon documentation built on Sept. 28, 2026, 5:07 p.m.