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
Makefile
.PHONY: help clean dev docs package test

help:
	@echo "The following make targets are available:"
	@echo "	dev-install		install all dependencies for dev environment and sets a egg link to the project sources"
	@echo "	install			install all dependencies and the project in the current environment"
	@echo "	package			build pip package"
	@echo "	test			run all tests in parallel"
	@echo "	clean			removes package, build files and egg info"

clean:
	rm -rf dist *.egg-info build

dev-install:
	pip install -e .

install:
	pip install .

package:
	python setup.py bdist

test:
	pytest -n auto tests/
back to top