次の方法で共有


ExecutionProvider クラス

定義

機械学習の推論に使用できる特定のハードウェア アクセラレータを表します。

public ref class ExecutionProvider sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.AI.MachineLearning.MachineLearningContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ExecutionProvider final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.AI.MachineLearning.MachineLearningContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ExecutionProvider
Public NotInheritable Class ExecutionProvider
継承
Object Platform::Object IInspectable ExecutionProvider
属性

プロパティ

名前 説明
Certification

機械学習の推論に使用できる特定のハードウェア アクセラレータを表します。

LibraryPath

デバイスの種類 (CPU、GPU、NPU など) を取得します。

Name

実行プロバイダーの名前を取得します。

PackageId

機械学習の推論に使用できる特定のハードウェア アクセラレータを表します。

ReadyState

機械学習の推論に使用できる特定のハードウェア アクセラレータを表します。

メソッド

名前 説明
EnsureReadyAsync()

必要なコンポーネントをダウンロードしてインストールすることで、実行プロバイダーが使用できる状態であることを確認します。

TryRegister()

ONNX ランタイムに実行プロバイダーの登録を試みます。

適用対象