https://github.com/tensorly/tensorly
Revision 4fd099c5cfc5c4b682c0778312d4cb60a33f08a8 authored by kingsj0405 on 01 August 2019, 18:36:51 UTC, committed by kingsj0405 on 04 December 2019, 12:19:15 UTC
1 parent bd095ce
Raw File
Tip revision: 4fd099c5cfc5c4b682c0778312d4cb60a33f08a8 authored by kingsj0405 on 01 August 2019, 18:36:51 UTC
Fix TypeError run tensorly.partial_svd with None n_eigenvecs
Tip revision: 4fd099c
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