swh:1:snp:5571f7976ca4ac18a2bf37a76e1d016d6295b377
Tip revision: 0fa8ab5b81e54410ee9b34a1ac5e45eebda7e387 authored by Jean Kossaifi on 06 August 2019, 17:16:06 UTC
Upload only once
Upload only once
Tip revision: 0fa8ab5
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