title: ML.NET: strange runtime error on some machines
body: <p>I wrote a simple UWP app using the ML.NET framework, and it worked on one of my machines without installing any Nuget packages, without any additional setup etc. </p>
  
  <p>However, on my other machine, after running the application, I get this error:</p>
  
  <blockquote>
    <p>System.Runtime.InteropServices.COMException: 'Unspecified error</p>
    
    <p>No suitable kernel definition found for op Sub (node Minus675)'</p>
  </blockquote>
  
  <p>The error happens in this segment of code:</p>
  
  <pre><code> public static async Task&lt;modelModel&gt; CreateFromStreamAsync(IRandomAccessStreamReference stream)
   {
        modelModel learningModel = new modelModel();
        learningModel.model = await LearningModel.LoadFromStreamAsync(stream);
        learningModel.session = new LearningModelSession(learningModel.model); // it breaks here
        learningModel.binding = new LearningModelBinding(learningModel.session);
        return learningModel;
          }
  </code></pre>
  
  <p>In case anyone should ask - yes I have added my .onnx model in the Assets folder.  My configuration is: VS 2017, Windows 10 version 1809, build 17763.194, and I have Windows 10 SDK version 10.0.17763.132. I have tried installing the Visual Studio Tools for AI and ML.NET Templates VS extensions, but it didn't help. </p>