https://github.com/tensorly/tensorly
Revision 8ca39b76c137d1cd16225b0fa2a3fa784b3d6037 authored by Jean Kossaifi on 30 November 2017, 10:52:53 UTC, committed by Jean Kossaifi on 30 November 2017, 10:52:53 UTC
1 parent 06b509a
Raw File
Tip revision: 8ca39b76c137d1cd16225b0fa2a3fa784b3d6037 authored by Jean Kossaifi on 30 November 2017, 10:52:53 UTC
doc-theme: update notebook link
Tip revision: 8ca39b7
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