https://github.com/tensorly/tensorly
Revision 7080de581b13bc304f627dae275f8458b97bf13f authored by Jean Kossaifi on 29 December 2022, 20:49:27 UTC, committed by Jean Kossaifi on 29 December 2022, 20:49:27 UTC
1 parent 720875a
Tip revision: 7080de581b13bc304f627dae275f8458b97bf13f authored by Jean Kossaifi on 29 December 2022, 20:49:27 UTC
Covid example: Valid REST links
Covid example: Valid REST links
Tip revision: 7080de5
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 ...