https://github.com/tensorly/tensorly
Revision 0e08f2b5e835215ed4663ac6eb9488a42d586488 authored by Zongyi Li on 19 September 2018, 16:12:19 UTC, committed by Zongyi Li on 19 September 2018, 16:12:19 UTC
1 parent 910a1c2
Tip revision: 0e08f2b5e835215ed4663ac6eb9488a42d586488 authored by Zongyi Li on 19 September 2018, 16:12:19 UTC
modify pytorch's tl.tensor(). delete int()/tensor_as_indices()
modify pytorch's tl.tensor(). delete int()/tensor_as_indices()
Tip revision: 0e08f2b
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 ...