https://github.com/tensorly/tensorly
Revision 26189bfc98322e35d69c3a4f4c3d7fb3df9f11ac authored by Jean Kossaifi on 11 July 2020, 23:34:24 UTC, committed by Jean Kossaifi on 11 July 2020, 23:34:24 UTC
MXNet currently doesn't support transpose for tensors of order higher
than 6
1 parent 9920faa
Raw File
Tip revision: 26189bfc98322e35d69c3a4f4c3d7fb3df9f11ac authored by Jean Kossaifi on 11 July 2020, 23:34:24 UTC
FIX tensor_dot test for MXNet
Tip revision: 26189bf
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