https://github.com/tensorly/tensorly
Revision b201b5aa7cd1025ca7848b5c4e0bf743550039a9 authored by Jean Kossaifi on 03 April 2019, 11:00:07 UTC, committed by GitHub on 03 April 2019, 11:00:07 UTC
2 parent s 52b4ed1 + 8d8f035
Raw File
Tip revision: b201b5aa7cd1025ca7848b5c4e0bf743550039a9 authored by Jean Kossaifi on 03 April 2019, 11:00:07 UTC
Merge pull request #106 from JeanKossaifi/maximeguillaud-master
Tip revision: b201b5a
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

back to top