Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
7ce2ccb5
Commit
7ce2ccb5
authored
Jun 10, 2021
by
Jakob Knollmüller
Browse files
fix
parent
c312b236
Pipeline
#103254
passed with stages
in 15 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/library/variational_models.py
View file @
7ce2ccb5
...
@@ -67,7 +67,7 @@ class MeanFieldVI:
...
@@ -67,7 +67,7 @@ class MeanFieldVI:
If not None, samples will be distributed as evenly as possible
If not None, samples will be distributed as evenly as possible
across this communicator. If `mirror_samples` is set, then a sample and
across this communicator. If `mirror_samples` is set, then a sample and
its mirror image will always reside on the same task.
its mirror image will always reside on the same task.
nanisinf :
nanisinf :
bool
If true, nan energies which can happen due to overflows in the forward
If true, nan energies which can happen due to overflows in the forward
model are interpreted as inf. Thereby, the code does not crash on
model are interpreted as inf. Thereby, the code does not crash on
these occasions but rather the minimizer is told that the position it
these occasions but rather the minimizer is told that the position it
...
@@ -128,7 +128,7 @@ class FullCovarianceVI:
...
@@ -128,7 +128,7 @@ class FullCovarianceVI:
trick is employed, which separates the stochastic part of the approximation
trick is employed, which separates the stochastic part of the approximation
from a deterministic function, the generator. Samples from the approximation
from a deterministic function, the generator. Samples from the approximation
are drawn by processing samples from a standard Gaussian through this generator.
are drawn by processing samples from a standard Gaussian through this generator.
Note that the size of the covariance scales quadratically with the number of model
Note that the size of the covariance scales quadratically with the number of model
parameters.
parameters.
...
@@ -153,7 +153,7 @@ class FullCovarianceVI:
...
@@ -153,7 +153,7 @@ class FullCovarianceVI:
If not None, samples will be distributed as evenly as possible
If not None, samples will be distributed as evenly as possible
across this communicator. If `mirror_samples` is set, then a sample and
across this communicator. If `mirror_samples` is set, then a sample and
its mirror image will always reside on the same task.
its mirror image will always reside on the same task.
nanisinf :
nanisinf :
bool
If true, nan energies which can happen due to overflows in the forward
If true, nan energies which can happen due to overflows in the forward
model are interpreted as inf. Thereby, the code does not crash on
model are interpreted as inf. Thereby, the code does not crash on
these occasions but rather the minimizer is told that the position it
these occasions but rather the minimizer is told that the position it
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment