https://github.com/tensorly/tensorly
Revision 2d56a42d98b3539447002d2b12df701bb406b979 authored by Jean Kossaifi on 05 February 2019, 18:18:43 UTC, committed by GitHub on 05 February 2019, 18:18:43 UTC
Backend refactor + sparse support for numpy
2 parent s 247917c + 114e663
Raw File
Tip revision: 2d56a42d98b3539447002d2b12df701bb406b979 authored by Jean Kossaifi on 05 February 2019, 18:18:43 UTC
Merge pull request #95 from JeanKossaifi/backend-manager
Tip revision: 2d56a42
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