Revision 26034e1423cd6c53a161a22dfe4c75e1faff0e7d authored by Jean Kossaifi on 06 August 2019, 13:56:23 UTC, committed by Jean Kossaifi on 06 August 2019, 13:56:23 UTC
1 parent e8ac360
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 ...