Revision 591f5b7e4a883d6b1f469430a9f3ceb54ea8eadb authored by Jean Kossaifi on 02 January 2019, 16:16:11 UTC, committed by Jean Kossaifi on 02 January 2019, 16:16:11 UTC
1 parent 91f85a5
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
Computing file changes ...