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
.coveragerc
[report]
omit = *tests*, setup.py
exclude_lines =
    pragma: no cover
    def __repr__
    def __str__
    def _repr_html_
    def _html_table_rows
    if self.debug:
    if settings.DEBUG
    raise AssertionError
    raise NotImplementedError
    if __name__ == .__main__.:
    print
back to top