Skip to content

Conversation

mszhanyi
Copy link
Contributor

@mszhanyi mszhanyi commented Nov 8, 2022

Description

Fixes #13509

Motivation and Context

The exception was caused by the incorrect fetches, which was from the binding with last test cases.

std::vector<OrtValue> fetches(output_names_len);
for (size_t i = 0; i != output_names_len; ++i) {
if (output[i] != nullptr) {
::OrtValue& value = *(output[i]);
if (value.Fence())
value.Fence()->BeforeUsingAsOutput(onnxruntime::kCpuExecutionProvider, queue_id);
fetches[i] = value;

@mszhanyi mszhanyi merged commit a9a9c34 into main Nov 9, 2022
@mszhanyi mszhanyi deleted the zhanyi/fixfcntest branch November 9, 2022 03:20
henrywu2019 pushed a commit to henrywu2019/onnxruntime that referenced this pull request Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FCN_ResNet_50 and FCN_ResNet_101 Failed in WinML workflow
2 participants