Skip to content

Commit

Permalink
remove fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyi9801 committed Nov 1, 2024
1 parent fea559b commit 7750dd2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions onnxruntime/core/providers/webnn/builders/helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -104,18 +104,6 @@ std::vector<std::vector<NodeIndex>> GetSupportedNodes(const GraphViewer& graph_v
const emscripten::val& wnn_limits,
const logging::Logger& logger) {
std::vector<std::vector<size_t>> supported_node_groups;

for (const auto* input : graph_viewer.GetInputs()) {
if (!IsTensorShapeSupported(*input, "graph", logger)) {
return supported_node_groups;
}
}
for (const auto* output : graph_viewer.GetOutputs()) {
if (!IsTensorShapeSupported(*output, "graph", logger)) {
return supported_node_groups;
}
}

std::vector<size_t> supported_node_group;
const auto& node_indices = graph_viewer.GetNodesInTopologicalOrder();

Expand Down

0 comments on commit 7750dd2

Please sign in to comment.