https://github.com/tensorly/tensorly
Revision 4fbbde1c1a610aec38fd2b8bcb500c7f7f459147 authored by Jean Kossaifi on 19 November 2020, 00:12:03 UTC, committed by Jean Kossaifi on 19 November 2020, 00:12:03 UTC
1 parent 70aa174
Tip revision: 4fbbde1c1a610aec38fd2b8bcb500c7f7f459147 authored by Jean Kossaifi on 19 November 2020, 00:12:03 UTC
validate_tucker_rank: opt for modes w/ fixed ranks
validate_tucker_rank: opt for modes w/ fixed ranks
Tip revision: 4fbbde1
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 ...