https://github.com/tensorly/tensorly
Revision 82063450f9ac055423b583468d56b9294b5e209c authored by Aaron Meurer on 21 February 2019, 02:28:13 UTC, committed by Aaron Meurer on 21 February 2019, 02:28:13 UTC
1 parent 5d6290b
Raw File
Tip revision: 82063450f9ac055423b583468d56b9294b5e209c authored by Aaron Meurer on 21 February 2019, 02:28:13 UTC
Use tl.shape instead of tensor.shape
Tip revision: 8206345
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

back to top