https://github.com/tensorly/tensorly
Revision fa50f7aa24eb0292c49eb58874ff573026a4c22e authored by Zongyi Li on 19 September 2018, 17:46:03 UTC, committed by Zongyi Li on 19 September 2018, 17:46:03 UTC
2 parent s 47b57dd + c0e6781
Raw File
Tip revision: fa50f7aa24eb0292c49eb58874ff573026a4c22e authored by Zongyi Li on 19 September 2018, 17:46:03 UTC
Merge branch 'master' into TTcross
Tip revision: fa50f7a
Makefile
# Automate testing etc
BACKEND?='numpy'

all: install test

install:
	pip install -e .

test:
	TENSORLY_BACKEND=$(BACKEND) pytest -v tensorly

test-all:
	TENSORLY_BACKEND='mxnet' pytest -v tensorly
	TENSORLY_BACKEND='numpy' pytest -v tensorly
	TENSORLY_BACKEND='pytorch' pytest -v tensorly

test-coverage:
	TENSORLY_BACKEND=$(BACKEND) pytest -v --cov tensorly tensorly

back to top