https://github.com/GPflow/GPflow
Revision 3b2a2ee95fc242bb9a512233c05f2b14a4f8984a authored by Eric Hammy on 16 October 2019, 09:39:04 UTC, committed by st-- on 16 October 2019, 09:39:04 UTC
This matches tf2 behaviour
[here](https://github.com/tensorflow/tensorflow/blob/1cf0898dd4331baf93fe77205550f2c2e6c90ee5/tensorflow/python/module/module.py#L143) and prevents accidentally trying to
reuse the same the generator once exhausted.
1 parent c62ad93
History
Tip revision: 3b2a2ee95fc242bb9a512233c05f2b14a4f8984a authored by Eric Hammy on 16 October 2019, 09:39:04 UTC
Change gpflow.base.Module attributes `parameter` and `trainable parameter` to be wrapped in a tuple, not generators (#1102)
Tip revision: 3b2a2ee
File Mode Size
__init__.py -rw-r--r-- 154 bytes
reference.py -rw-r--r-- 2.0 KB
test_broadcasted_conditionals.py -rw-r--r-- 8.5 KB
test_conditionals.py -rw-r--r-- 4.0 KB
test_config.py -rw-r--r-- 2.2 KB
test_coregion.py -rw-r--r-- 7.2 KB
test_expectations.py -rw-r--r-- 10.5 KB
test_features.py -rw-r--r-- 4.1 KB
test_gplvm.py -rw-r--r-- 4.1 KB
test_kernels.py -rw-r--r-- 14.8 KB
test_kldiv.py -rw-r--r-- 5.2 KB
test_likelihoods.py -rw-r--r-- 19.2 KB
test_logdensities.py -rw-r--r-- 4.0 KB
test_mean_functions.py -rw-r--r-- 11.2 KB
test_method_equivalence.py -rw-r--r-- 10.9 KB
test_methods.py -rw-r--r-- 9.4 KB
test_multioutput.py -rw-r--r-- 24.4 KB
test_multioutput_features.py -rw-r--r-- 2.2 KB
test_notebooks.py -rw-r--r-- 3.2 KB
test_predict.py -rw-r--r-- 6.9 KB
test_printing.py -rw-r--r-- 14.6 KB
test_prior.py -rw-r--r-- 2.5 KB
test_quadrature.py -rw-r--r-- 2.9 KB
test_scaled_euclid_dist.py -rw-r--r-- 1.9 KB
test_training.py -rw-r--r-- 2.9 KB
test_uncertain_conditional.py -rw-r--r-- 9.4 KB
test_variational.py -rw-r--r-- 8.1 KB

back to top