https://github.com/tensorly/tensorly
Revision 99572fea4fcb6355fdda0988201a2c9a4e7e9bc5 authored by Jean Kossaifi on 23 April 2019, 13:35:47 UTC, committed by Jean Kossaifi on 23 April 2019, 13:35:47 UTC
Always carry weights around, e.g. kruskal_tensor = (weights, factors) always
1 parent b1f9077
Tip revision: 99572fea4fcb6355fdda0988201a2c9a4e7e9bc5 authored by Jean Kossaifi on 23 April 2019, 13:35:47 UTC
FIX kruskal_tensor for sparse_backend
FIX kruskal_tensor for sparse_backend
Tip revision: 99572fe
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 ...