https://github.com/tensorly/tensorly
Revision fd4b6f3773dc4e5978484eec42519085064f8e58 authored by Jean Kossaifi on 13 June 2019, 11:13:06 UTC, committed by Jean Kossaifi on 13 June 2019, 11:13:06 UTC
1 parent a8391c5
Tip revision: fd4b6f3773dc4e5978484eec42519085064f8e58 authored by Jean Kossaifi on 13 June 2019, 11:13:06 UTC
Add sparse functions to API
Add sparse functions to API
Tip revision: fd4b6f3
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 ...