https://github.com/GPflow/GPflow
Revision 3b2a2ee95fc242bb9a512233c05f2b14a4f8984a authored by Eric Hammy on 16 October 2019, 09:39:04 UTC, committed by st-- on 16 October 2019, 09:39:04 UTC
This matches tf2 behaviour
[here](https://github.com/tensorflow/tensorflow/blob/1cf0898dd4331baf93fe77205550f2c2e6c90ee5/tensorflow/python/module/module.py#L143) and prevents accidentally trying to
reuse the same the generator once exhausted.
1 parent c62ad93
Raw File
Tip revision: 3b2a2ee95fc242bb9a512233c05f2b14a4f8984a authored by Eric Hammy on 16 October 2019, 09:39:04 UTC
Change gpflow.base.Module attributes `parameter` and `trainable parameter` to be wrapped in a tuple, not generators (#1102)
Tip revision: 3b2a2ee
.coveragerc
[report]
omit = *tests*, setup.py
exclude_lines =
    pragma: no cover
    def __repr__
    def __str__
    def _repr_html_
    def _html_table_rows
    if self.debug:
    if settings.DEBUG
    raise AssertionError
    raise NotImplementedError
    if __name__ == .__main__.:
    print
back to top