https://github.com/tensorly/tensorly
Revision 4dc32a06d8e2300ae976d74a7e5cf1636f867061 authored by Aaron Meyer on 13 February 2022, 16:55:30 UTC, committed by GitHub on 13 February 2022, 16:55:30 UTC
Tip revision: 4dc32a06d8e2300ae976d74a7e5cf1636f867061 authored by Aaron Meyer on 13 February 2022, 16:55:30 UTC
Merge branch 'tensorly:main' into covid_notebook
Merge branch 'tensorly:main' into covid_notebook
Tip revision: 4dc32a0
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 ...