https://github.com/tensorly/tensorly
Revision b17f3baed012c3e5c807167c21677fd0e2d9d225 authored by Aaron Meyer on 13 September 2022, 19:53:14 UTC, committed by Aaron Meyer on 13 September 2022, 19:53:14 UTC
1 parent a374250
Tip revision: b17f3baed012c3e5c807167c21677fd0e2d9d225 authored by Aaron Meyer on 13 September 2022, 19:53:14 UTC
test_decomposition_accuracy fix
test_decomposition_accuracy fix
Tip revision: b17f3ba
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 ...