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
ISSUE_TEMPLATE.md -rw-r--r-- 597 bytes
PULL_REQUEST_TEMPLATE.md -rw-r--r-- 2.0 KB

back to top