https://github.com/tensorly/tensorly
Revision a26ffe09a1468b328bd0e26e432e5fb1cc334efc authored by Jean Kossaifi on 08 March 2023, 06:36:00 UTC, committed by GitHub on 08 March 2023, 06:36:00 UTC
2 parent s e52158d + ba9c055
Raw File
Tip revision: a26ffe09a1468b328bd0e26e432e5fb1cc334efc authored by Jean Kossaifi on 08 March 2023, 06:36:00 UTC
Merge pull request #491 from braun-steven/feature/logsumexp
Tip revision: a26ffe0
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

back to top