https://github.com/tensorly/tensorly
Tip revision: afcaa2fe3f4e01fec552c92ba07fe8ae38c2b2de authored by Jean Kossaifi on 18 November 2021, 11:36:14 UTC
Merge pull request #339 from caglayantuna/nn_hals_issue
Merge pull request #339 from caglayantuna/nn_hals_issue
Tip revision: afcaa2f
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