https://github.com/tensorly/tensorly
Revision f41ae3bce45a4cf2f101d610704838d335b1f586 authored by Chris Swierczewski on 02 February 2018, 22:55:50 UTC, committed by Jean Kossaifi on 03 February 2018, 18:53:37 UTC
1 parent 1fe47a0
Raw File
Tip revision: f41ae3bce45a4cf2f101d610704838d335b1f586 authored by Chris Swierczewski on 02 February 2018, 22:55:50 UTC
More elegent where() solution and randomized tests
Tip revision: f41ae3b
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