https://github.com/tensorly/tensorly
Revision de8ad5f761729ff9aa2f06105af14c03f01e9a39 authored by Jean Kossaifi on 23 August 2019, 17:17:08 UTC, committed by Jean Kossaifi on 23 August 2019, 17:17:08 UTC
Tip revision: de8ad5f761729ff9aa2f06105af14c03f01e9a39 authored by Jean Kossaifi on 23 August 2019, 17:17:08 UTC
Merge branch 'master' of https://github.com/tensorly/tensorly
Merge branch 'master' of https://github.com/tensorly/tensorly
Tip revision: de8ad5f
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
Computing file changes ...