22 references to NativeLibrary
Microsoft.ML.Core.Tests (5)
UnitTests\NativeLibraryTests.cs (5)
10using NativeLibrary = Microsoft.ML.TestFrameworkCommon.Utility.NativeLibrary; 32Assert.True(NativeLibrary.NativeLibraryExists(library)); 38Assert.False(NativeLibrary.NativeLibraryExists("MLNetNonexistentNativeLibrary")); 44Assert.True(NativeLibrary.NativeLibraryExists("lib_lightgbm")); 50Assert.True(NativeLibrary.NativeLibraryExists("OneDalNative"));
Microsoft.ML.TestFramework (4)
Attributes\LightGBMFactAttribute.cs (1)
23return Environment.Is64BitProcess && NativeLibrary.NativeLibraryExists("lib_lightgbm");
Attributes\LightGBMTheoryAttribute.cs (1)
23return Environment.Is64BitProcess && NativeLibrary.NativeLibraryExists("lib_lightgbm");
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)
24return NativeLibrary.NativeLibraryExists("CpuMathNative");
Attributes\NativeDependencyFactAttribute.cs (1)
25return NativeLibrary.NativeLibraryExists(_library);
Attributes\NativeDependencyTheoryAttribute.cs (1)
25return NativeLibrary.NativeLibraryExists(_library);
Attributes\OnnxFactAttribute.cs (1)
34&& Utility.NativeLibrary.NativeLibraryExists("onnxruntime");
Utility\NativeLibrary.cs (1)
25var assembly = typeof(NativeLibrary).Assembly;
Microsoft.ML.Tests (8)
OnnxConversionTest.cs (8)
195if (NativeLibrary.NativeLibraryExists("MklImports")) 199if (Environment.Is64BitProcess && NativeLibrary.NativeLibraryExists("lib_lightgbm")) 236if (NativeLibrary.NativeLibraryExists("MklImports")) 240if (Environment.Is64BitProcess && NativeLibrary.NativeLibraryExists("lib_lightgbm")) 1673if (Environment.Is64BitProcess && NativeLibrary.NativeLibraryExists("lib_lightgbm")) 1947if (NativeLibrary.NativeLibraryExists("MklImports")) 1951if (Environment.Is64BitProcess && NativeLibrary.NativeLibraryExists("lib_lightgbm")) 2000if (Environment.Is64BitProcess && NativeLibrary.NativeLibraryExists("lib_lightgbm"))