https://github.com/tensorly/tensorly
Revision dba13b196effd39b01b562b860105be799d1f97b authored by Jean Kossaifi on 13 April 2021, 08:11:17 UTC, committed by Jean Kossaifi on 14 April 2021, 10:38:49 UTC
1 parent dbf91d1
Raw File
Tip revision: dba13b196effd39b01b562b860105be799d1f97b authored by Jean Kossaifi on 13 April 2021, 08:11:17 UTC
FIX TT + Support order 1 CP tensors
Tip revision: dba13b1
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