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
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)
Change gpflow.base.Module attributes `parameter` and `trainable parameter` to be wrapped in a tuple, not generators (#1102)
Tip revision: 3b2a2ee
Makefile
.PHONY: help clean dev docs package test
help:
@echo "The following make targets are available:"
@echo " dev-install install all dependencies for dev environment and sets a egg link to the project sources"
@echo " install install all dependencies and the project in the current environment"
@echo " package build pip package"
@echo " test run all tests in parallel"
@echo " clean removes package, build files and egg info"
clean:
rm -rf dist *.egg-info build
dev-install:
pip install -e .
install:
pip install .
package:
python setup.py bdist
test:
pytest -n auto tests/
Computing file changes ...