https://github.com/tensorly/tensorly
Revision 7958691a37bd6c2aab3bbe9b991c94db5d1d5382 authored by Jean Kossaifi on 08 April 2018, 13:33:01 UTC, committed by Jean Kossaifi on 08 April 2018, 13:33:01 UTC
1 parent 8b6f4cb
Raw File
Tip revision: 7958691a37bd6c2aab3bbe9b991c94db5d1d5382 authored by Jean Kossaifi on 08 April 2018, 13:33:01 UTC
DOCSTRINGS: improved doc
Tip revision: 7958691
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