https://github.com/GPflow/GPflow
Revision 61f8d84ea170791460468ef39ce5c38d3ec20a2a authored by Artem Artemev on 18 May 2020, 20:58:12 UTC, committed by GitHub on 18 May 2020, 20:58:12 UTC
TensorFlow Probability 0.10 introduced a new _parameters attribute in tfp.bijectors.Bijector instances that contains a self-reference, which broke GPflow's module-traversion utilities (leaf_components, print_summary, deepcopy, freeze). This PR changes traverse_module to ignore the _parameters attribute and proposes a new deepcopy approach that simply uses copy.deepcopy()'s memo argument. Co-authored-by: st-- <st--@users.noreply.github.com>
1 parent 150a0d1
Tip revision: 61f8d84ea170791460468ef39ce5c38d3ec20a2a authored by Artem Artemev on 18 May 2020, 20:58:12 UTC
Fix freeze and traverse utility methods (#1476)
Fix freeze and traverse utility methods (#1476)
Tip revision: 61f8d84
File | Mode | Size |
---|---|---|
conditionals | ||
config | ||
covariances | ||
expectations | ||
inducing_variables | ||
kernels | ||
likelihoods | ||
models | ||
monitor | ||
optimizers | ||
utilities | ||
__init__.py | -rw-r--r-- | 1.1 KB |
base.py | -rw-r--r-- | 12.8 KB |
ci_utils.py | -rw-r--r-- | 1.9 KB |
kullback_leiblers.py | -rw-r--r-- | 5.8 KB |
logdensities.py | -rw-r--r-- | 3.3 KB |
mean_functions.py | -rw-r--r-- | 5.8 KB |
probability_distributions.py | -rw-r--r-- | 1.8 KB |
py.typed | -rw-r--r-- | 27 bytes |
quadrature.py | -rw-r--r-- | 7.7 KB |
versions.py | -rw-r--r-- | 177 bytes |
Computing file changes ...