From 169e13dd8abc189d7d9bba96cb03daa539386e12 Mon Sep 17 00:00:00 2001 From: jingyanwangms <47403504+jingyanwangms@users.noreply.github.com> Date: Thu, 30 Jan 2025 21:52:12 -0800 Subject: [PATCH] Update onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../core/providers/tensorrt/tensorrt_execution_provider.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc b/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc index 5c345b8a43..a386a54df4 100644 --- a/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc +++ b/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc @@ -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{i}, true); + SubGraph_t supported_node_vector(std::vector{i}, true); std::unique_ptr sub_graph = GetSubGraph(supported_node_vector, graph, model_hash, subgraph_idx++); result.push_back(ComputeCapability::Create(std::move(sub_graph))); }