Control Class |
public static class Control
The Control type exposes the following members.
Name | Description | |
---|---|---|
CheckDistributionParameters | Gets or sets a value indicating whether the distribution classes check validate each parameter. For the multivariate distributions this could involve an expensive matrix factorization. The default setting of this property is true. | |
MaxDegreeOfParallelism | Gets or sets a value indicating how many parallel worker threads shall be used when parallelization is applicable. | |
NativeProviderPath | Optional path to try to load native provider binaries from. | |
TaskScheduler | Gets or sets the TaskScheduler used to schedule the worker tasks. | |
ThreadSafeRandomNumberGenerators | Gets or sets a value indicating whether to use thread safe random number generators (RNG). Thread safe RNG about two and half time slower than non-thread safe RNG. |
Name | Description | |
---|---|---|
ConfigureAuto | ||
Describe | ||
FreeResources | ||
TryUseNative | Try to use any available native provider in an undefined order. | |
TryUseNativeCUDA | Try to use the Nvidia CUDA native provider for linear algebra. | |
TryUseNativeMKL | Try to use the Intel MKL native provider for linear algebra. | |
TryUseNativeOpenBLAS | Try to use the OpenBLAS native provider for linear algebra. | |
UseBestProviders | Use the best provider available. | |
UseDefaultProviders | Use a specific provider if configured, e.g. using environment variables, or fall back to the best providers. | |
UseManaged | ||
UseMultiThreading | ||
UseNativeCUDA | Use the Nvidia CUDA native provider for linear algebra. Throws if it is not available or failed to initialize, in which case the previous provider is still active. | |
UseNativeMKL | Use the Intel MKL native provider for linear algebra. Throws if it is not available or failed to initialize, in which case the previous provider is still active. | |
UseNativeOpenBLAS | Use the OpenBLAS native provider for linear algebra. Throws if it is not available or failed to initialize, in which case the previous provider is still active. | |
UseSingleThread |