Skip to main content

active_execution_provider

Function active_execution_provider 

Source
pub fn active_execution_provider() -> &'static str
Expand description

User-facing label for the active execution provider, e.g. “DirectML”, “CUDA”, “CoreML”, “CPU”. Returns “CPU” before any session is built.