https://github.com/tensorly/tensorly
Revision 67be325cb5a1b2e0513b5cacb997d63be09586eb authored by Jean Kossaifi on 31 October 2022, 00:52:25 UTC, committed by Jean Kossaifi on 31 October 2022, 00:52:25 UTC
1 parent 62a195e
Tip revision: 67be325cb5a1b2e0513b5cacb997d63be09586eb authored by Jean Kossaifi on 31 October 2022, 00:52:25 UTC
Adds TensorRing class
Adds TensorRing class
Tip revision: 67be325
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
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...