Settings: .settings#
- ggml_ot.settings[source]#
Package-wide configuration shared through
ggml_ot.settings.Read or assign the public attributes on this shared object to configure the package at runtime. Use
update()to change several settings at once. Each property documents its default value and what happens when it is changed.Examples
# Set individual properties, e.g., the seed for reproducibility ggml_ot.settings.random_seed = 123 # Set multiple properties at once, e.g., to use 8 CPU threads and force CPU computation ggml_ot.settings.update(n_threads=8, device="cpu") # Or set them directly, e.g. plotting options for saving figures ggml_ot.settings.figdir = "figures" ggml_ot.settings.figformat = "png" ggml_ot.settings.figdpi = 300
Reproducibility and computation#
Random seed for package operations. |
|
Number of CPU computation threads. |
|
Device for PyTorch computations. |
|
Whether to print verbose output where supported. |
Plotting#
Data and initialization#
Whether to restore stored ggml parameters from an AnnData object when initializing |
|
Initialization strategy for the learned map |