mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-10 17:37:14 +00:00
Fix windows build error and regenerate ContribOperators.md
This commit is contained in:
parent
3a56834acf
commit
afe0a2695e
2 changed files with 1628 additions and 1482 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -2497,7 +2497,7 @@ TensorrtExecutionProvider::GetCapability(const GraphViewer& graph,
|
|||
const auto& node = graph.GetNode(node_index[i]);
|
||||
const bool is_context_node = node && !node->OpType().empty() && node->OpType() == "EPContext";
|
||||
if (is_context_node) {
|
||||
SubGraph_t supported_node_vector = {std::vector<long unsigned int>{i}, true};
|
||||
SubGraph_t supported_node_vector (std::vector<long unsigned int>{i}, true);
|
||||
std::unique_ptr<IndexedSubGraph> sub_graph = GetSubGraph(supported_node_vector, graph, model_hash, subgraph_idx++);
|
||||
result.push_back(ComputeCapability::Create(std::move(sub_graph)));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue