Revision 61f8d84ea170791460468ef39ce5c38d3ec20a2a authored by Artem Artemev on 18 May 2020, 20:58:12 UTC, committed by GitHub on 18 May 2020, 20:58:12 UTC
TensorFlow Probability 0.10 introduced a new _parameters attribute in tfp.bijectors.Bijector instances that contains a self-reference, which broke GPflow's module-traversion utilities (leaf_components, print_summary, deepcopy, freeze). This PR changes traverse_module to ignore the _parameters attribute and proposes a new deepcopy approach that simply uses copy.deepcopy()'s memo argument.

Co-authored-by: st-- <st--@users.noreply.github.com>
1 parent 150a0d1
History
File Mode Size
.circleci
.github
doc
gpflow
tests
.coveragerc -rw-r--r-- 283 bytes
.coveralls.yml -rw-r--r-- 23 bytes
.gitignore -rw-r--r-- 866 bytes
.pylintrc -rw-r--r-- 14.6 KB
GLOSSARY.md -rw-r--r-- 1.4 KB
LICENSE -rw-r--r-- 11.1 KB
MANIFEST.in -rw-r--r-- 182 bytes
Makefile -rw-r--r-- 682 bytes
README.md -rw-r--r-- 9.6 KB
RELEASE.md -rw-r--r-- 131 bytes
VERSION -rw-r--r-- 6 bytes
codecov.yml -rw-r--r-- 274 bytes
contributing.md -rw-r--r-- 7.3 KB
mypy.ini -rw-r--r-- 37 bytes
notebooks l--------- 21 bytes
setup.py -rw-r--r-- 2.1 KB
tests_requirements.txt -rw-r--r-- 238 bytes

README.md

back to top