https://github.com/tensorly/tensorly
Tip revision: 6964bcee35e4ea9ceb30f552c0f7c7c498f69ee0 authored by Jean KOSSAIFI on 20 October 2016, 21:01:18 UTC
Kruskal Tensor Regression
Kruskal Tensor Regression
Tip revision: 6964bce
Makefile
# Automate testing etc
BACKEND?='numpy'
.PHONY: all install debug test test-all test-coverage
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='jax' pytest -v tensorly
TENSORLY_BACKEND='tensorflow' pytest -v tensorly
test-coverage:
TENSORLY_BACKEND=$(BACKEND) pytest -v --cov tensorly tensorly