Revision e10a0d75c5da684da2aa5e5a74fe6a0c1e32f4aa authored by Jean Kossaifi on 23 April 2018, 23:04:35 UTC, committed by Jean Kossaifi on 23 April 2018, 23:04:35 UTC
1 parent b2ed1f9
Makefile
# Automate testing etc
BACKEND?='mxnet'
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 ...