swh:1:snp:6298e170750eb9cfb13fbd6f84b11ca6a6738b27
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
History
Tip revision: 4f1f4a83d97041737148431db1c4f1e967bd5802 authored by Jesper Nielsen on 20 September 2022, 12:33:56 UTC
Prepare for release 2.6.0. (#1979)
Tip revision: 4f1f4a8
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

README.md

back to top