https://github.com/tensorly/tensorly
Revision 4f73baf20af94e1f1a3a54fa59d4476ac68512e3 authored by wumming on 30 August 2018, 20:15:08 UTC, committed by wumming on 30 August 2018, 20:15:08 UTC
1 parent 3448786
Raw File
Tip revision: 4f73baf20af94e1f1a3a54fa59d4476ac68512e3 authored by wumming on 30 August 2018, 20:15:08 UTC
merge2
Tip revision: 4f73baf
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