https://github.com/GPflow/GPflow
Revision 7c2711ffb9edbfbd7db5e1b3d000f8cdc2069b50 authored by st-- on 10 January 2020, 15:55:34 UTC, committed by GitHub on 10 January 2020, 15:55:34 UTC
* Adds is_tensor_like property (returns True) to gpflow.Parameter to be compatible with TensorFlow 2.1.

* Changes gpflow.Parameter.__repr__ to identify itself as a gpflow object, not a tf.Tensor, to ease debugging and interactive use.
1 parent 6a455db
Raw File
Tip revision: 7c2711ffb9edbfbd7db5e1b3d000f8cdc2069b50 authored by st-- on 10 January 2020, 15:55:34 UTC
TensorFlow 2.1 compatibility, and identify as gpflow.Parameter in repr() to ease debugging (#1201)
Tip revision: 7c2711f
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/
back to top