https://github.com/tensorly/tensorly
Revision 2d56a42d98b3539447002d2b12df701bb406b979 authored by Jean Kossaifi on 05 February 2019, 18:18:43 UTC, committed by GitHub on 05 February 2019, 18:18:43 UTC
Backend refactor + sparse support for numpy
Tip revision: 2d56a42d98b3539447002d2b12df701bb406b979 authored by Jean Kossaifi on 05 February 2019, 18:18:43 UTC
Merge pull request #95 from JeanKossaifi/backend-manager
Merge pull request #95 from JeanKossaifi/backend-manager
Tip revision: 2d56a42
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 ...