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
History
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)
Tip revision: f49e110
File Mode Size
__init__.py -rw-r--r-- 154 bytes
reference.py -rw-r--r-- 2.0 KB
test_base.py -rw-r--r-- 2.1 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-- 4.0 KB
test_coregion.py -rw-r--r-- 7.4 KB
test_deepcopy.py -rw-r--r-- 1.2 KB
test_dynamic_shapes.py -rw-r--r-- 2.9 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.3 KB
test_kernels.py -rw-r--r-- 19.2 KB
test_kldiv.py -rw-r--r-- 5.2 KB
test_likelihoods.py -rw-r--r-- 19.3 KB
test_logdensities.py -rw-r--r-- 4.0 KB
test_mcmc_helper.py -rw-r--r-- 3.2 KB
test_mean_functions.py -rw-r--r-- 11.2 KB
test_method_equivalence.py -rw-r--r-- 11.2 KB
test_methods.py -rw-r--r-- 10.8 KB
test_model.py -rw-r--r-- 1.5 KB
test_multioutput.py -rw-r--r-- 24.9 KB
test_multioutput_features.py -rw-r--r-- 2.2 KB
test_natural_gradient.py -rw-r--r-- 4.9 KB
test_notebooks.py -rw-r--r-- 2.8 KB
test_optimizers.py -rw-r--r-- 2.0 KB
test_predict.py -rw-r--r-- 6.9 KB
test_printing.py -rw-r--r-- 17.2 KB
test_prior.py -rw-r--r-- 3.2 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-- 4.1 KB
test_uncertain_conditional.py -rw-r--r-- 9.3 KB
test_utilities.py -rw-r--r-- 1.6 KB
test_variational.py -rw-r--r-- 8.1 KB

back to top