https://github.com/tensorly/tensorly
Revision d10f18a55165bfbbff2b65f6bb5c7e11b240c2be authored by Jean Kossaifi on 23 August 2021, 17:17:16 UTC, committed by Jean Kossaifi on 23 August 2021, 17:17:16 UTC
1 parent 81cb203
Tip revision: d10f18a55165bfbbff2b65f6bb5c7e11b240c2be authored by Jean Kossaifi on 23 August 2021, 17:17:16 UTC
Use faster batched_tensor_dot version
Use faster batched_tensor_dot version
Tip revision: d10f18a
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 ...