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
.circleci
.github
doc
gpflow
tests
.coveragerc -rw-r--r-- 283 bytes
.coveralls.yml -rw-r--r-- 23 bytes
.gitignore -rw-r--r-- 828 bytes
.pylintrc -rw-r--r-- 14.6 KB
GLOSSARY.md -rw-r--r-- 1.4 KB
LICENSE -rw-r--r-- 11.1 KB
MANIFEST.in -rw-r--r-- 158 bytes
Makefile -rw-r--r-- 597 bytes
README.md -rw-r--r-- 8.1 KB
RELEASE.md -rw-r--r-- 6.9 KB
VERSION -rw-r--r-- 9 bytes
codecov.yml -rw-r--r-- 274 bytes
contributing.md -rw-r--r-- 7.3 KB
docs_require.txt -rw-r--r-- 143 bytes
notebooks l--------- 21 bytes
setup.py -rw-r--r-- 2.2 KB
tests_requirements.txt -rw-r--r-- 209 bytes

README.md

back to top