https://github.com/tensorly/tensorly
Revision 2b2226f268b7782d6fa97f524c047048d139c16f authored by Jean Kossaifi on 05 October 2021, 11:09:44 UTC, committed by GitHub on 05 October 2021, 11:09:44 UTC
Add cmtf_als to init file so that it can be imported directly via tl.decomposition
2 parent s 80e80d6 + e43a38e
Raw File
Tip revision: 2b2226f268b7782d6fa97f524c047048d139c16f authored by Jean Kossaifi on 05 October 2021, 11:09:44 UTC
Merge pull request #326 from IsabellLehmann/cmtf_als
Tip revision: 2b2226f
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