https://github.com/GPflow/GPflow
Revision f49e1107d05f8119c9260acaead423f64ae5cf68 authored by st-- on 28 January 2020, 12:40:15 UTC, committed by GitHub on 28 January 2020, 12:40:15 UTC
Makes all GPflow objects (kernels, likelihoods, ...) inherit from gpflow.base.Module (not tf.Module), and adds _repr_html_ and _repr_pretty_ methods to gpflow.base.Module that return appropriate rich representation for jupyter notebook and IPython shell, respectively. * use gpflow.base.Module instead of tf.Module inside gpflow * add _repr_html_ and _repr_pretty_ to gpflow.base.Module for improved display in IPython shell/jupyter notebook * update explicit imports in gpflow/__init__.py
1 parent 8a73e6d
Tip revision: f49e1107d05f8119c9260acaead423f64ae5cf68 authored by st-- on 28 January 2020, 12:40:15 UTC
Improve pretty-printing of GPflow objects in IPython shell and jupyter notebook (#1233)
Improve pretty-printing of GPflow objects in IPython shell and jupyter notebook (#1233)
Tip revision: f49e110
File | Mode | Size |
---|---|---|
conditionals | ||
config | ||
covariances | ||
expectations | ||
inducing_variables | ||
kernels | ||
likelihoods | ||
models | ||
optimizers | ||
utilities | ||
__init__.py | -rw-r--r-- | 1.0 KB |
base.py | -rw-r--r-- | 9.2 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 ...