https://github.com/tensorly/tensorly
Revision 70d16b0db37b0c6c51e241da20766a4624e2a21b authored by Jean Kossaifi on 21 August 2020, 07:45:42 UTC, committed by Jean Kossaifi on 21 August 2020, 07:45:42 UTC
1 parent bb6a0c5
Raw File
Tip revision: 70d16b0db37b0c6c51e241da20766a4624e2a21b authored by Jean Kossaifi on 21 August 2020, 07:45:42 UTC
Remove forgotten param
Tip revision: 70d16b0
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