From 660a4076b4052b3d51a274b6a8ff07b0eb92d54c Mon Sep 17 00:00:00 2001 From: Jeff Bloomfield Date: Mon, 2 Oct 2023 12:48:50 -0700 Subject: [PATCH] Temporary change for constant graph node enumeration --- .../dml/DmlExecutionProvider/src/DmlGraphFusionHelper.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/DmlGraphFusionHelper.cpp b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/DmlGraphFusionHelper.cpp index d436877e40361..794c08a451985 100644 --- a/onnxruntime/core/providers/dml/DmlExecutionProvider/src/DmlGraphFusionHelper.cpp +++ b/onnxruntime/core/providers/dml/DmlExecutionProvider/src/DmlGraphFusionHelper.cpp @@ -283,11 +283,6 @@ namespace DmlGraphFusionHelper DML_PREVIEW_OPERATOR_FIRST = 0xC0000000, }; - enum DML_GRAPH_NODE_TYPE_PREVIEW - { - DML_GRAPH_NODE_TYPE_CONSTANT_DATA = 0xCC000000, - }; - struct DML_CONSTANT_DATA_GRAPH_NODE_DESC_PREVIEW { const BYTE* data; @@ -324,7 +319,8 @@ namespace DmlGraphFusionHelper nodeInfo.name.data() }; - dmlGraphNodes[i] = DML_GRAPH_NODE_DESC{(DML_GRAPH_NODE_TYPE) DML_GRAPH_NODE_TYPE_CONSTANT_DATA, &dmlConstantGraphNodes[i]}; + // TODO: Change as new header is ingested + dmlGraphNodes[i] = DML_GRAPH_NODE_DESC{(DML_GRAPH_NODE_TYPE) 2, &dmlConstantGraphNodes[i]}; } }