https://github.com/tensorly/tensorly
Revision 45a15a53bc51ea3792db60e016acd52f0fff2a7b authored by Jean Kossaifi on 19 February 2018, 17:55:03 UTC, committed by Jean Kossaifi on 19 February 2018, 17:55:03 UTC
1 parent 5169075
Raw File
Tip revision: 45a15a53bc51ea3792db60e016acd52f0fff2a7b authored by Jean Kossaifi on 19 February 2018, 17:55:03 UTC
Numpy backend: add sqrt
Tip revision: 45a15a5
Makefile
# Automate testing etc
BACKEND?='mxnet'

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