https://github.com/tensorly/tensorly
Revision eb71c2eae50e070cd8993f76d285d1914f156153 authored by Jean Kossaifi on 20 April 2018, 15:38:55 UTC, committed by Jean Kossaifi on 20 April 2018, 15:38:55 UTC
1 parent 65557d5
Raw File
Tip revision: eb71c2eae50e070cd8993f76d285d1914f156153 authored by Jean Kossaifi on 20 April 2018, 15:38:55 UTC
Temporary fix for cupy.linalg.solve
Tip revision: eb71c2e
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