mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-17 21:10:43 +00:00
Remove redundant lines of code (#5883)
This commit is contained in:
parent
a622533ecc
commit
c0471240b4
1 changed files with 0 additions and 3 deletions
|
|
@ -400,9 +400,6 @@ common::Status CopyOneInputAcrossDevices(const SessionState& session_state, cons
|
|||
}
|
||||
|
||||
MLValueCopyInfo copy_info;
|
||||
std::vector<SessionState::NodeInfo> node_info_vec;
|
||||
ORT_RETURN_IF_ERROR(session_state.GetInputNodeInfo(input_name, node_info_vec));
|
||||
|
||||
ORT_RETURN_IF_ERROR(CalculateStaticCopyInfoForFeed(session_state, input_name, copy_info));
|
||||
copy_info.source_device = orig_mlvalue.Get<Tensor>().Location().device;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue