https://github.com/GPflow/GPflow
Revision a186ca58213bdd95c23f84f986d49efc5c9535fe authored by Artem Artemev on 22 October 2019, 16:38:10 UTC, committed by Sergio Pascual on 22 October 2019, 16:38:10 UTC
* Rewrite get_leaf_components and deepcopy_components with traverse
Write/update tests for both

* Tape should compute gradients outside context

* Explanation of the test

* Some changes in convolutional notebook

* Update tests/test_deepcopy.py

Co-Authored-By: st-- <st--@users.noreply.github.com>

* Reorganising recursion on traverse

* Update tests/test_deepcopy.py

Co-Authored-By: st-- <st--@users.noreply.github.com>

* Update tests/test_deepcopy.py

Co-Authored-By: st-- <st--@users.noreply.github.com>

* Update gpflow/utilities/utilities.py

Co-Authored-By: Eric Hammy <6815729+condnsdmatters@users.noreply.github.com>

* Update gpflow/utilities/utilities.py

Co-Authored-By: Eric Hammy <6815729+condnsdmatters@users.noreply.github.com>

* Update gpflow/utilities/utilities.py

Co-Authored-By: Eric Hammy <6815729+condnsdmatters@users.noreply.github.com>

* Update gpflow/utilities/utilities.py

Co-Authored-By: Eric Hammy <6815729+condnsdmatters@users.noreply.github.com>

* Update gpflow/utilities/utilities.py

Co-Authored-By: Eric Hammy <6815729+condnsdmatters@users.noreply.github.com>

* Update gpflow/utilities/utilities.py

Co-Authored-By: Eric Hammy <6815729+condnsdmatters@users.noreply.github.com>

* Update gpflow/utilities/utilities.py

Co-Authored-By: Eric Hammy <6815729+condnsdmatters@users.noreply.github.com>

* Update gpflow/utilities/utilities.py

Co-Authored-By: Eric Hammy <6815729+condnsdmatters@users.noreply.github.com>

* Separating deepcopy_components from clear_cache_bijectors

* Remove ListWrapper and _DictWrapper

Co-Authored-By: Eric Hammy <6815729+condnsdmatters@users.noreply.github.com>
1 parent 51b2465
Raw File
Tip revision: a186ca58213bdd95c23f84f986d49efc5c9535fe authored by Artem Artemev on 22 October 2019, 16:38:10 UTC
Traverse function for DAG (tf.Module) structures (#1108)
Tip revision: a186ca5
.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
back to top