changed nativeLib name from onnxruntime.dll to onnxruntime, for cross platform (#275)

This commit is contained in:
shahasad 2019-01-03 19:52:21 -08:00 committed by GitHub
parent 75934af896
commit 8a7b6761de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ namespace Microsoft.ML.OnnxRuntime
internal static class NativeMethods
{
private const string nativeLib = "onnxruntime.dll";
private const string nativeLib = "onnxruntime";
internal const CharSet charSet = CharSet.Ansi;
#region Runtime/Environment API