https://github.com/tensorly/tensorly
Revision 0751da677065b2b47c77cfd6d4de87b16fbf4f69 authored by kingsj0405 on 04 December 2019, 12:22:05 UTC, committed by kingsj0405 on 04 December 2019, 12:22:05 UTC
2 parent s 398c3e6 + 83bf472
Raw File
Tip revision: 0751da677065b2b47c77cfd6d4de87b16fbf4f69 authored by kingsj0405 on 04 December 2019, 12:22:05 UTC
Merge branch 'feature/issue#119' of https://github.com/kingsj0405/tensorly into feature/issue#120
Tip revision: 0751da6
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