https://github.com/tensorly/tensorly
Revision 70aa1747c27bd39ccc9964ae13d47f8777c706b6 authored by Jean Kossaifi on 17 November 2020, 19:58:09 UTC, committed by Jean Kossaifi on 17 November 2020, 19:58:09 UTC
1 parent fd2093e
Raw File
Tip revision: 70aa1747c27bd39ccc9964ae13d47f8777c706b6 authored by Jean Kossaifi on 17 November 2020, 19:58:09 UTC
validate_tt_rank : fix for the matrix case
Tip revision: 70aa174
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