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
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)
Change gpflow.base.Module attributes `parameter` and `trainable parameter` to be wrapped in a tuple, not generators (#1102)
Tip revision: 3b2a2ee
File | Mode | Size |
---|---|---|
conditionals | ||
config | ||
covariances | ||
expectations | ||
inducing_variables | ||
kernels | ||
likelihoods | ||
models | ||
optimizers | ||
utilities | ||
__init__.py | -rw-r--r-- | 960 bytes |
base.py | -rw-r--r-- | 6.7 KB |
ci_utils.py | -rw-r--r-- | 964 bytes |
kullback_leiblers.py | -rw-r--r-- | 4.7 KB |
logdensities.py | -rw-r--r-- | 3.0 KB |
mean_functions.py | -rw-r--r-- | 5.8 KB |
probability_distributions.py | -rw-r--r-- | 1.7 KB |
quadrature.py | -rw-r--r-- | 7.7 KB |
versions.py | -rw-r--r-- | 177 bytes |
Computing file changes ...