Condividi tramite


Metodo IMLOperatorTensor.GetDataInterface

Ottiene un puntatore di interfaccia per il tensore. Può essere usato quando IMLOperatorTensor::IsDataInterface restituisce true, perché il kernel è stato registrato usando MLOperatorExecutionType::D 3D12. L'oggetto dataInterface supporta l'interfaccia ID3D12Resource ed è un buffer GPU.

void GetDataInterface(
    _COM_Outptr_result_maybenull_ IUnknown** dataInterface)

Requisiti

Requisito
Client minimo supportato Windows 10, build 17763
Server minimo supportato Windows Server 2019 con Esperienza desktop
Intestazione MLOperatorAuthor.h

Nota

Per informazioni su Windows Machine Learning, usa le risorse seguenti:

  • Per porre domande tecniche o rispondere a domande tecniche su Windows Machine Learning, usa il tag windows-machine-learning in Stack Overflow.
  • Per segnalare un bug, registra il problema in GitHub.