Revision 056e59f2c5aa2b5021de9b7b91ce1cee2ea0bb92 authored by st-- on 06 February 2020, 17:06:04 UTC, committed by GitHub on 06 February 2020, 17:06:04 UTC
Parameter.__repr__ called .numpy() on the constrained and unconstrained representations - this throws an error when in graph mode (tf.function-wrapped), which can lead to errors-in-exception-handling, so this PR makes use of tf.eagerly_executing() to check whether we are in graph mode, and if so, only print shapes and dtype, not values.
1 parent 8dbf7ad
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-- | 828 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-- | 158 bytes |
Makefile | -rw-r--r-- | 597 bytes |
README.md | -rw-r--r-- | 9.2 KB |
RELEASE.md | -rw-r--r-- | 6.9 KB |
VERSION | -rw-r--r-- | 9 bytes |
codecov.yml | -rw-r--r-- | 274 bytes |
contributing.md | -rw-r--r-- | 7.3 KB |
docs_require.txt | -rw-r--r-- | 143 bytes |
notebooks | l--------- | 21 bytes |
setup.py | -rw-r--r-- | 2.2 KB |
tests_requirements.txt | -rw-r--r-- | 219 bytes |
Computing file changes ...