Exemple #1
0
 /// <inheritdoc />
 protected override bool IsEnvironmentSupported()
 {
     return((Environment.Is64BitProcess &&
             (RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ||
              AttributeHelpers.CheckLibcVersionGreaterThanMinimum(new Version(2, 23)))) &&
            Microsoft.ML.TestFrameworkCommon.Utility.NativeLibrary.NativeLibraryExists("tensorflow"));
 }
Exemple #2
0
 /// <inheritdoc />
 protected override bool IsEnvironmentSupported()
 {
     return((!RuntimeInformation.IsOSPlatform(OSPlatform.Linux) ||
             AttributeHelpers.CheckLibcVersionGreaterThanMinimum(new Version(2, 23))) &&
            Microsoft.ML.TestFrameworkCommon.Utility.NativeLibrary.NativeLibraryExists("onnxruntime"));
 }
 /// <inheritdoc />
 protected override bool IsEnvironmentSupported()
 {
     return(Environment.Is64BitProcess && (!RuntimeInformation.IsOSPlatform(OSPlatform.Linux) || AttributeHelpers.CheckLibcVersionGreaterThanMinimum(new Version(2, 23))));
 }