https://github.com/tensorly/tensorly
Revision e59bc181ffd7e6d858abc5333f7bb890ee71d29e authored by Jean Kossaifi on 31 October 2022, 22:15:29 UTC, committed by GitHub on 31 October 2022, 22:15:29 UTC
TT improvements + doc
Tip revision: e59bc181ffd7e6d858abc5333f7bb890ee71d29e authored by Jean Kossaifi on 31 October 2022, 22:15:29 UTC
Merge pull request #454 from JeanKossaifi/tt_svd
Merge pull request #454 from JeanKossaifi/tt_svd
Tip revision: e59bc18
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 ...