https://github.com/tensorly/tensorly
Revision 85427096a1ab6600caa7d98bed93768566bb2a2f authored by Jean Kossaifi on 30 September 2020, 15:50:06 UTC, committed by Jean Kossaifi on 30 September 2020, 15:50:06 UTC
1 parent b405e84
Tip revision: 85427096a1ab6600caa7d98bed93768566bb2a2f authored by Jean Kossaifi on 30 September 2020, 15:50:06 UTC
Tucker decomposition: option to provide init + fix core
Tucker decomposition: option to provide init + fix core
Tip revision: 8542709
Makefile
# Automate testing etc
BACKEND?='numpy'
.PHONY: all test install clean debug
all: install test
install:
pip install -e .
debug:
TENSORLY_BACKEND=$(BACKEND) pytest -v --pdb tensorly
test:
TENSORLY_BACKEND=$(BACKEND) pytest -v tensorly
test-all:
TENSORLY_BACKEND='numpy' pytest -v tensorly
TENSORLY_BACKEND='cupy' pytest -v tensorly
TENSORLY_BACKEND='pytorch' pytest -v tensorly
TENSORLY_BACKEND='mxnet' pytest -v tensorly
TENSORLY_BACKEND='jax' pytest -v tensorly
TENSORLY_BACKEND='tensorflow' pytest -v tensorly
test-coverage:
TENSORLY_BACKEND=$(BACKEND) pytest -v --cov tensorly tensorly
Computing file changes ...