https://github.com/tensorly/tensorly
Revision 1911fd0e65097ddbc6c155f02c981e066fdb0e7e authored by Jean Kossaifi on 26 May 2023, 19:22:50 UTC, committed by GitHub on 26 May 2023, 19:22:50 UTC
Add ALS-based method for tensor ring decomposition
2 parent s e45c97e + 42218f8
Raw File
Tip revision: 1911fd0e65097ddbc6c155f02c981e066fdb0e7e authored by Jean Kossaifi on 26 May 2023, 19:22:50 UTC
Merge pull request #501 from OsmanMalik/master
Tip revision: 1911fd0
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