https://github.com/tensorly/tensorly
Revision 531a2e74e73c995a3ceae6d3cfeaf32965b4e78d authored by Jean Kossaifi on 14 September 2017, 15:39:30 UTC, committed by Jean Kossaifi on 14 September 2017, 22:27:09 UTC
1 parent 876ee8e
Raw File
Tip revision: 531a2e74e73c995a3ceae6d3cfeaf32965b4e78d authored by Jean Kossaifi on 14 September 2017, 15:39:30 UTC
TRAVIS: pdated build instructions
Tip revision: 531a2e7
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