3 instantiations of NativeLibrary
Microsoft.ML.TestFrameworkCommon (3)
Utility\NativeLibrary.cs (3)
32
nativeLibrary = new
NativeLibrary
(name + extension);
41
nativeLibrary = new
NativeLibrary
(prefix + name + extension);
50
nativeLibrary = new
NativeLibrary
(prefix + "_" + name + extension);
18 references to NativeLibrary
Microsoft.ML.TestFramework (5)
Attributes\LightGBMFactAttribute.cs (1)
23
return Environment.Is64BitProcess &&
NativeLibrary
.NativeLibraryExists("lib_lightgbm");
Attributes\LightGBMTheoryAttribute.cs (1)
23
return Environment.Is64BitProcess &&
NativeLibrary
.NativeLibraryExists("lib_lightgbm");
Attributes\OnnxTheoryAttribute.cs (1)
25
&& Microsoft.ML.TestFrameworkCommon.Utility.
NativeLibrary
.NativeLibraryExists("onnxruntime");
Attributes\TensorflowFactAttribute.cs (1)
26
&& Microsoft.ML.TestFrameworkCommon.Utility.
NativeLibrary
.NativeLibraryExists("tensorflow");
Attributes\TensorflowTheoryAttribute.cs (1)
26
&& Microsoft.ML.TestFrameworkCommon.Utility.
NativeLibrary
.NativeLibraryExists("tensorflow");
Microsoft.ML.TestFrameworkCommon (5)
Attributes\FieldAwareFactorizationMachineFactAttribute.cs (1)
20
return
NativeLibrary
.NativeLibraryExists("CpuMathNative");
Attributes\NativeDependencyFactAttribute.cs (1)
25
return
NativeLibrary
.NativeLibraryExists(_library);
Attributes\NativeDependencyTheoryAttribute.cs (1)
25
return
NativeLibrary
.NativeLibraryExists(_library);
Attributes\OnnxFactAttribute.cs (1)
30
&& Utility.
NativeLibrary
.NativeLibraryExists("onnxruntime");
Utility\NativeLibrary.cs (1)
18
NativeLibrary
nativeLibrary = default;
Microsoft.ML.Tests (8)
OnnxConversionTest.cs (8)
195
if (
NativeLibrary
.NativeLibraryExists("MklImports"))
199
if (Environment.Is64BitProcess &&
NativeLibrary
.NativeLibraryExists("lib_lightgbm"))
236
if (
NativeLibrary
.NativeLibraryExists("MklImports"))
240
if (Environment.Is64BitProcess &&
NativeLibrary
.NativeLibraryExists("lib_lightgbm"))
1673
if (Environment.Is64BitProcess &&
NativeLibrary
.NativeLibraryExists("lib_lightgbm"))
1947
if (
NativeLibrary
.NativeLibraryExists("MklImports"))
1951
if (Environment.Is64BitProcess &&
NativeLibrary
.NativeLibraryExists("lib_lightgbm"))
2000
if (Environment.Is64BitProcess &&
NativeLibrary
.NativeLibraryExists("lib_lightgbm"))