https://github.com/tensorly/tensorly
Revision 55f20865f54dcdb11c3f6c93e95acc9bf1309252 authored by SamJohannes on 15 May 2018, 06:02:39 UTC, committed by SamJohannes on 15 May 2018, 06:02:39 UTC
1 parent 15beeef
Raw File
Tip revision: 55f20865f54dcdb11c3f6c93e95acc9bf1309252 authored by SamJohannes on 15 May 2018, 06:02:39 UTC
Cleaned up backend utilisation for randomised parafac
Tip revision: 55f2086
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
	TENSORLY_BACKEND='tensorflow' pytest -v tensorly

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

back to top