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
Raw File
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
codecov.yml
coverage:
  status:
    project:
      default:
        target: 95%
        threshold: 1%
    patch:
      default:
        target: 97%
        threshold: 1%

ignore:
  - "*.py"
  - "tests/*.py"
  - "gpflow/ci_utils.py"
  - "gpflow/versions.py"
  - "doc/source/notebooks/*"
back to top