https://github.com/tensorly/tensorly
Revision 02f084a6c97db0f8719deb7753f6ec6b86a94ffa authored by Jean Kossaifi on 26 July 2019, 19:52:30 UTC, committed by Jean Kossaifi on 26 July 2019, 19:52:30 UTC
1 parent 929a1fd
Tip revision: 02f084a6c97db0f8719deb7753f6ec6b86a94ffa authored by Jean Kossaifi on 26 July 2019, 19:52:30 UTC
Test for correctness of weights for Kruskal tensor
Test for correctness of weights for Kruskal tensor
Tip revision: 02f084a
Makefile
# Automate testing etc
BACKEND?='numpy'
all: install test
install:
pip install -e .
test:
TENSORLY_BACKEND=$(BACKEND) pytest -v tensorly
test-all:
TENSORLY_BACKEND='mxnet' pytest -v tensorly
TENSORLY_BACKEND='numpy' pytest -v tensorly
TENSORLY_BACKEND='pytorch' pytest -v tensorly
test-coverage:
TENSORLY_BACKEND=$(BACKEND) pytest -v --cov tensorly tensorly
Computing file changes ...