% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/onnx.R
\name{onnx_device_info}
\alias{onnx_device_info}
\title{ONNX model device/scheduler diagnostics}
\usage{
onnx_device_info(model)
}
\arguments{
\item{model}{An \code{onnx_model} object from \code{onnx_load()}.}
}
\value{
A list with:
  \describe{
    \item{backends}{Character vector of backend names (e.g. \code{"Vulkan0"}, \code{"CPU"})}
    \item{n_backends}{Number of backends}
    \item{n_splits}{Number of scheduler splits (1 = all on one backend)}
    \item{n_nodes}{Total graph nodes}
    \item{gpu_ops}{Ops supported by GPU backend}
    \item{cpu_ops}{Ops that can only run on CPU}
    \item{cpu_only_ops}{Named integer vector: op type => count (empty if all on GPU)}
  }
}
\description{
Returns information about backend placement: which backends are
available, how the scheduler splits the graph, and how many ops
are supported by GPU vs CPU-only.
}
