rustnn C and C++ API
WebNN graph construction and execution
Loading...
Searching...
No Matches
rustnn::BackendDevice Struct Reference

Explicit backend and device hint for context creation. More...

#include <rustnn.hpp>

Public Attributes

Backend backend
 
DeviceType device_type
 
std::size_t device_index = 0
 

Detailed Description

Explicit backend and device hint for context creation.

Definition at line 79 of file rustnn.hpp.

Member Data Documentation

◆ backend

Backend rustnn::BackendDevice::backend

Definition at line 80 of file rustnn.hpp.

◆ device_index

std::size_t rustnn::BackendDevice::device_index = 0

Definition at line 82 of file rustnn.hpp.

◆ device_type

DeviceType rustnn::BackendDevice::device_type

Definition at line 81 of file rustnn.hpp.


The documentation for this struct was generated from the following file: