https://github.com/tensorly/tensorly
Revision 2162ddaed4a554c9781c7d70d36a13a0e7e4a458 authored by Zongyi Li on 03 September 2018, 21:27:14 UTC, committed by Zongyi Li on 19 September 2018, 17:33:45 UTC
1 parent e918a01
Tip revision: 2162ddaed4a554c9781c7d70d36a13a0e7e4a458 authored by Zongyi Li on 03 September 2018, 21:27:14 UTC
add back candecomp_parafac.py from master
add back candecomp_parafac.py from master
Tip revision: 2162dda
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 ...