Revision 3174ae94189726c7a331dff73de401ea177acd0e authored by ThomasDelteil on 24 January 2018, 00:00:19 UTC, committed by Jean Kossaifi on 24 January 2018, 22:34:41 UTC
1 parent 3dbf6bd
Raw File
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

back to top