safe_onnx_session: Safe ONNX Session Creation

View source: R/onnx_interface.R

safe_onnx_sessionR Documentation

Safe ONNX Session Creation

Description

Safe ONNX Session Creation

Usage

safe_onnx_session(model_path, providers = NULL)

Arguments

model_path

Character string specifying the path to the ONNX model file

providers

Optional character vector specifying execution providers

Details

Create an ONNX session with automatic error handling.

Value

An RSession object or NULL if creation fails


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