https://github.com/tensorly/tensorly
Revision 7bb7e3d3b04b04f2dc0f5cafc2fa81dea0245d2d authored by Jean Kossaifi on 07 November 2020, 21:53:54 UTC, committed by Jean Kossaifi on 07 November 2020, 21:53:54 UTC
1 parent 03f5fd9
Tip revision: 7bb7e3d3b04b04f2dc0f5cafc2fa81dea0245d2d authored by Jean Kossaifi on 07 November 2020, 21:53:54 UTC
Fix validate_tt_rank for 2nd order tensors
Fix validate_tt_rank for 2nd order tensors
Tip revision: 7bb7e3d
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
Computing file changes ...