https://github.com/tensorly/tensorly
Revision 41136205b81c7edb11b748f55aa08c0385a1ed19 authored by TUNA Caglayan on 15 November 2021, 10:20:39 UTC, committed by TUNA Caglayan on 15 November 2021, 10:20:39 UTC
1 parent c41092d
Raw File
Tip revision: 41136205b81c7edb11b748f55aa08c0385a1ed19 authored by TUNA Caglayan on 15 November 2021, 10:20:39 UTC
solves hals rec-error0 issue and does some pep improvements
Tip revision: 4113620
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