https://github.com/tensorly/tensorly
Revision b0fd2d69edfe5fba722f628c7eff2e7534bcc29f authored by Aaron Meyer on 05 March 2021, 14:57:09 UTC, committed by Aaron Meyer on 05 March 2021, 14:57:09 UTC
1 parent ff9d44c
Raw File
Tip revision: b0fd2d69edfe5fba722f628c7eff2e7534bcc29f authored by Aaron Meyer on 05 March 2021, 14:57:09 UTC
Add mxnet kron
Tip revision: b0fd2d6
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