https://github.com/tensorly/tensorly
Revision f8782f6b65158dd08fccd7e8f3bf61786f7f4c27 authored by Jean Kossaifi on 01 June 2018, 14:28:17 UTC, committed by Jean Kossaifi on 01 June 2018, 14:28:17 UTC
1 parent b07ca26
Raw File
Tip revision: f8782f6b65158dd08fccd7e8f3bf61786f7f4c27 authored by Jean Kossaifi on 01 June 2018, 14:28:17 UTC
Adds orthogonalise parameter for CP decomposition
Tip revision: f8782f6
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
	TENSORLY_BACKEND='tensorflow' pytest -v tensorly

test-coverage:
	TENSORLY_BACKEND=$(BACKEND) pytest -v --cov tensorly tensorly

back to top