Revision 91105af8e36b709b035e62a5c1e88dfbcf1c8900 authored by Jean Kossaifi on 08 December 2017, 15:12:59 UTC, committed by GitHub on 08 December 2017, 15:12:59 UTC
1 parent 8a6a197
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 ...