https://github.com/tensorly/tensorly
Revision a0bde0ddf8f61e23e8f630bd6a2a3e9fd93bf4de authored by Jean Kossaifi on 26 March 2019, 23:14:11 UTC, committed by Jean Kossaifi on 26 March 2019, 23:14:11 UTC
1 parent 429b4a7
Raw File
Tip revision: a0bde0ddf8f61e23e8f630bd6a2a3e9fd93bf4de authored by Jean Kossaifi on 26 March 2019, 23:14:11 UTC
Readibility of khatri-rao
Tip revision: a0bde0d
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