https://github.com/GPflow/GPflow
Revision d3ca3c90f9e1b644a0b902e6ad9296ea2a7168c4 authored by joelberkeley-pio on 17 March 2020, 19:12:46 UTC, committed by GitHub on 17 March 2020, 19:12:46 UTC
TensorFlow does not allow setting a tf.Variable's `trainable` property; this brings GPflow Parameter objects in line with that behaviour. gpflow.set_utilities() can be used to change the _trainable state for gpflow.Parameter and tf.Variable objects as well as recursively for tf/gpflow Modules. Note that set_trainable() should not be used inside functions that will be wrapped in tf.function() (see #1335).
1 parent e680397
Tip revision: d3ca3c90f9e1b644a0b902e6ad9296ea2a7168c4 authored by joelberkeley-pio on 17 March 2020, 19:12:46 UTC
remove trainable setter on Parameter (#1323)
remove trainable setter on Parameter (#1323)
Tip revision: d3ca3c9
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-- | 182 bytes |
Makefile | -rw-r--r-- | 680 bytes |
README.md | -rw-r--r-- | 9.3 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.5 KB |
notebooks | l--------- | 21 bytes |
setup.py | -rw-r--r-- | 2.5 KB |
tests_requirements.txt | -rw-r--r-- | 232 bytes |
Computing file changes ...