File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
onnxruntime/core/framework Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -455,11 +455,10 @@ common::Status SaveInputOutputNamesToNodeMapping(const onnxruntime::GraphViewer&
455
455
// utils::CopyOneInputAcrossDevices is happy.
456
456
457
457
auto & input_map = session_state.GetInputNodeInfoMap ();
458
- auto end_map = input_map.cend ();
459
458
460
459
for (const auto & graph_input : graph_inputs) {
461
460
const auto & name = graph_input->Name ();
462
- if (input_map.find (name) == end_map ) {
461
+ if (input_map.find (name) == input_map. cend () ) {
463
462
// dummy entry for an input that we didn't find a use of in the graph. log it in case that's a bug.
464
463
// utils::CopyOneInputAcrossDevices will use the input OrtValue as is given we don't believe it's used anywhere.
465
464
LOGS (session_state.Logger (), INFO) << (graph.IsSubgraph () ? " Subgraph" : " Graph" ) << " input with name "
You can’t perform that action at this time.
0 commit comments