https://github.com/tensorly/tensorly
Revision f0b6612e0b7cf68d1f97ad7f739284533bea3da3 authored by Jean Kossaifi on 22 November 2022, 20:42:56 UTC, committed by Jean Kossaifi on 22 November 2022, 20:42:56 UTC
1 parent 71a1b56
Tip revision: f0b6612e0b7cf68d1f97ad7f739284533bea3da3 authored by Jean Kossaifi on 22 November 2022, 20:42:56 UTC
Black linting
Black linting
Tip revision: f0b6612
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 ...