https://github.com/tensorly/tensorly
Revision 0d0fcb5899af32dfa4217c3736e178d0fb8ac5ec authored by Jean Kossaifi on 29 April 2018, 21:12:49 UTC, committed by Jean Kossaifi on 29 April 2018, 21:12:49 UTC
1 parent e1dce3f
Raw File
Tip revision: 0d0fcb5899af32dfa4217c3736e178d0fb8ac5ec authored by Jean Kossaifi on 29 April 2018, 21:12:49 UTC
README: minor update
Tip revision: 0d0fcb5
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
	TENSORLY_BACKEND='tensorflow' pytest -v tensorly

test-coverage:
	TENSORLY_BACKEND=$(BACKEND) pytest -v --cov tensorly tensorly

back to top