https://github.com/tensorly/tensorly
Revision a628f79cfbcb1a6b553cb2657aa44177067ac885 authored by Aaron Meyer on 21 September 2022, 18:21:55 UTC, committed by GitHub on 21 September 2022, 18:21:55 UTC
Adding an implementation of tensor PLS.
2 parent s fd5ef2e + b17f3ba
Raw File
Tip revision: a628f79cfbcb1a6b553cb2657aa44177067ac885 authored by Aaron Meyer on 21 September 2022, 18:21:55 UTC
Merge pull request #435 from meyer-lab/plsr
Tip revision: a628f79
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