https://github.com/tensorly/tensorly
Raw File
Tip revision: c4b2c08fcdc2664e886be357161da815abb8f2bc authored by Jean Kossaifi on 27 August 2017, 20:04 UTC
Updated doc and website
Tip revision: c4b2c08
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