https://github.com/tensorly/tensorly
Revision ed8f35438c3022b16f8c2fa0ab5bab1577a7c192 authored by Christopher Yeh on 12 March 2021, 22:04:15 UTC, committed by GitHub on 12 March 2021, 22:04:15 UTC
1 parent 906f07b
Raw File
Tip revision: ed8f35438c3022b16f8c2fa0ab5bab1577a7c192 authored by Christopher Yeh on 12 March 2021, 22:04:15 UTC
Fix more typos in symmetric power iteration
Tip revision: ed8f354
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