https://github.com/tensorly/tensorly
Revision 0751da677065b2b47c77cfd6d4de87b16fbf4f69 authored by kingsj0405 on 04 December 2019, 12:22:05 UTC, committed by kingsj0405 on 04 December 2019, 12:22:05 UTC
Tip revision: 0751da677065b2b47c77cfd6d4de87b16fbf4f69 authored by kingsj0405 on 04 December 2019, 12:22:05 UTC
Merge branch 'feature/issue#119' of https://github.com/kingsj0405/tensorly into feature/issue#120
Merge branch 'feature/issue#119' of https://github.com/kingsj0405/tensorly into feature/issue#120
Tip revision: 0751da6
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 ...