swh:1:snp:a7164ef6381da87ad4f56d6b5e6e5698ca12d9b8
Tip revision: 6b5a5fe85b64da3ca5e4c383c8f7b7b475fdfb48 authored by Jean Kossaifi on 15 October 2020, 18:31:27 UTC
Update website + API fix
Update website + API fix
Tip revision: 6b5a5fe
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