5ec7e9155692fa6f8d34efe5009811ac5bfca764,gpflow/base.py,Module,_repr_html_,#Module#,36
Before Change
def _repr_html_(self):
from .utilities import tabulate_module_summary
return tabulate_module_summary(self, tablefmt="html")
def _repr_pretty_(self, p, cycle):
from .utilities import tabulate_module_summary
After Change
Nice representation of GPflow objects in IPython/Jupyter notebooks
from html import escape
return self._representation_table(escape(repr(self)), "html")
def _repr_pretty_(self, p, cycle):
Nice representation of GPflow objects in the IPython shell
repr_str = self._representation_table(repr(self), default_summary_fmt())
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: GPflow/GPflow
Commit Name: 5ec7e9155692fa6f8d34efe5009811ac5bfca764
Time: 2020-05-04
Author: st--@users.noreply.github.com
File Name: gpflow/base.py
Class Name: Module
Method Name: _repr_html_
Project Name: GPflow/GPflow
Commit Name: 5e599fb01df65d156a40f7a138ab6627a06a50db
Time: 2020-05-07
Author: 6815729+condnsdmatters@users.noreply.github.com
File Name: gpflow/base.py
Class Name: Module
Method Name: _repr_html_
Project Name: catalyst-team/catalyst
Commit Name: f5f12397d09d53896d47242758ba579648718117
Time: 2019-06-23
Author: poletaev.va@gmail.com
File Name: catalyst/utils/hash.py
Class Name:
Method Name: get_hash