https://github.com/tensorly/tensorly
Revision afcaa2fe3f4e01fec552c92ba07fe8ae38c2b2de authored by Jean Kossaifi on 18 November 2021, 11:36:14 UTC, committed by GitHub on 18 November 2021, 11:36:14 UTC
Solves hals rec_error0 issue #338  + pep8 improvements
2 parent s c41092d + 4113620
Raw File
Tip revision: afcaa2fe3f4e01fec552c92ba07fe8ae38c2b2de authored by Jean Kossaifi on 18 November 2021, 11:36:14 UTC
Merge pull request #339 from caglayantuna/nn_hals_issue
Tip revision: afcaa2f
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