https://github.com/GPflow/GPflow
Revision aff62bcc29d77b740b81cbadc83656efe2adc080 authored by st-- on 30 March 2020, 09:32:58 UTC, committed by GitHub on 30 March 2020, 09:32:58 UTC
* Adds an explicit check to Scipy() that all elements of `variables` are actually tf.Variable instances (unconstrained variables) - accidentally passing `model.trainable_parameters` may work but give the wrong answers for parameters with transforms! Passing `model.trainable_variables` is the right thing to do. * Updates _compute_loss_and_gradients to only compute gradients wrt passed-in variables. * Fix mixture density network notebook, which had erroneously passed model.trainable_parameters instead of model.trainable_variables.
1 parent d41d6eb
Tip revision: aff62bcc29d77b740b81cbadc83656efe2adc080 authored by st-- on 30 March 2020, 09:32:58 UTC
Make Scipy more robust & faster (#1377)
Make Scipy more robust & faster (#1377)
Tip revision: aff62bc
codecov.yml
coverage:
status:
project:
default:
target: 95%
threshold: 1%
patch:
default:
target: 97%
threshold: 1%
ignore:
- "*.py"
- "tests/*.py"
- "gpflow/ci_utils.py"
- "gpflow/versions.py"
- "doc/source/notebooks/*"
Computing file changes ...