https://github.com/tensorly/tensorly
Revision d4fca6affc42a5fd468f4e8e51c7bf6c30cdf890 authored by Jean Kossaifi on 05 August 2019, 09:15:08 UTC, committed by GitHub on 05 August 2019, 09:15:08 UTC
2 parent s 1fadece + 8329b4f
Raw File
Tip revision: d4fca6affc42a5fd468f4e8e51c7bf6c30cdf890 authored by Jean Kossaifi on 05 August 2019, 09:15:08 UTC
Merge pull request #123 from kingsj0405/feature/issue#122
Tip revision: d4fca6a
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