https://github.com/tensorly/tensorly
Revision 6f26a2028706c80420184e556cceb33ba208c35c authored by kingsj0405 on 04 December 2019, 12:29:43 UTC, committed by kingsj0405 on 04 December 2019, 12:29:43 UTC
1 parent 0751da6
Raw File
Tip revision: 6f26a2028706c80420184e556cceb33ba208c35c authored by kingsj0405 on 04 December 2019, 12:29:43 UTC
Auto format
Tip revision: 6f26a20
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