https://github.com/tensorly/tensorly
Revision e49cdfd3254e20f211f6cd2006821fdf2d2f80fc authored by Jean Kossaifi on 23 August 2017, 15:25:23 UTC, committed by Jean Kossaifi on 23 August 2017, 15:25:23 UTC
1 parent 959c98c
Raw File
Tip revision: e49cdfd3254e20f211f6cd2006821fdf2d2f80fc authored by Jean Kossaifi on 23 August 2017, 15:25:23 UTC
DOC: minor refactoring
Tip revision: e49cdfd
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

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

back to top