https://github.com/tensorly/tensorly
Revision 93ee05bdc187caeaf6fe1cd3667aee9d5de8c11d authored by Aaron Meyer on 10 July 2020, 17:36:45 UTC, committed by Aaron Meyer on 10 July 2020, 17:36:45 UTC
1 parent 817002f
Tip revision: 93ee05bdc187caeaf6fe1cd3667aee9d5de8c11d authored by Aaron Meyer on 10 July 2020, 17:36:45 UTC
Some edits to polish the demo script.
Some edits to polish the demo script.
Tip revision: 93ee05b
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 ...