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
Raw File
Tip revision: aff62bcc29d77b740b81cbadc83656efe2adc080 authored by st-- on 30 March 2020, 09:32:58 UTC
Make Scipy more robust & faster (#1377)
Tip revision: aff62bc
.gitignore
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
#  Usually these files are written by a python script from a template
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Emacs backups
*~

# Pycharm IDE directory
.idea

# IPython Notebooks
.ipynb_checkpoints

# VSCode
.vscode

# OSX
.DS_Store
back to top