https://github.com/tensorly/tensorly
Revision a1e4e2ad71389209120b05303b769f6b8db18696 authored by Jean Kossaifi on 22 June 2020, 13:59:02 UTC, committed by GitHub on 22 June 2020, 13:59:02 UTC
Fixing modes in parafac and nonegative_parafac
2 parent s 16eb359 + e452f3e
Raw File
Tip revision: a1e4e2ad71389209120b05303b769f6b8db18696 authored by Jean Kossaifi on 22 June 2020, 13:59:02 UTC
Merge pull request #171 from cohenjer/feature_fixed-mode
Tip revision: a1e4e2a
Makefile
# Automate testing etc
BACKEND?='numpy'

.PHONY: all test install clean debug

all: install test

install:
	pip install -e .

debug:
	TENSORLY_BACKEND=$(BACKEND) pytest -v --pdb tensorly

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

test-all:
	TENSORLY_BACKEND='numpy' pytest -v tensorly
	TENSORLY_BACKEND='cupy' pytest -v tensorly
	TENSORLY_BACKEND='pytorch' pytest -v tensorly
	TENSORLY_BACKEND='mxnet' pytest -v tensorly
	TENSORLY_BACKEND='jax' pytest -v tensorly
	TENSORLY_BACKEND='tensorflow' pytest -v tensorly

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

back to top