https://github.com/tensorly/tensorly
Revision ad113ab83d029bf8dbe3c98241d25bf09b1ff89b authored by taylorpatti on 12 March 2021, 01:19:03 UTC, committed by GitHub on 12 March 2021, 01:19:03 UTC
Tip revision: ad113ab83d029bf8dbe3c98241d25bf09b1ff89b authored by taylorpatti on 12 March 2021, 01:19:03 UTC
Merge branch 'main' into main
Merge branch 'main' into main
Tip revision: ad113ab
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 ...