We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7612bce commit 735edb8Copy full SHA for 735edb8
Samples/WinMLSamplesGallery/WinMLSamplesGallery/Samples/DXResourceBindingORT/DXResourceBindingORT.xaml.cs
@@ -54,6 +54,9 @@ private async void ClassifyCube()
54
break;
55
}
56
float[] results = await Task.Run(() => WinMLSamplesGalleryNative.DXResourceBinding.EvalORT());
57
+ // The first evaluation may return null so move to the next iteration
58
+ if (results == null)
59
+ continue;
60
UpdateClassificationResults(results);
61
System.Threading.Thread.Sleep(1000);
62
i++;
0 commit comments