https://github.com/tensorly/tensorly
Revision 463b5539fb1ca42fafd4791c539a53d1fc49e9ae authored by Zongyi Li on 14 September 2018, 18:15:59 UTC, committed by Zongyi Li on 19 September 2018, 17:33:45 UTC
1 parent 975c84b
Raw File
Tip revision: 463b5539fb1ca42fafd4791c539a53d1fc49e9ae authored by Zongyi Li on 14 September 2018, 18:15:59 UTC
use solve instead of inverse, delete npr.seed()
Tip revision: 463b553
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