共用方式為


IMLOperatorShapeInferenceContext.IsInputValid 方法

如果運算子的輸入有效,則傳回 true。 這一律會傳回 true,但選擇性輸入和無效的索引除外。

bool IsInputValid(
    uint32_t inputIndex)

需求

要求
最低支援的用戶端 Windows 10 組建 17763
最低支援的伺服器 具有桌面體驗的 Windows Server 2019
頁眉 MLOperatorAuthor.h(機器學習運算符作者)

備註

使用以下資源以獲得 Windows ML 的協助。

  • 若要詢問或回答有關 Windows ML 的技術問題,請使用 Stack Overflow 上的 windows-machine-learning 標籤。
  • 若要回報錯誤,請在 GitHub 提出問題。