https://github.com/tensorly/tensorly
Revision 88086cbd26cd52f95ba549b9ae6fe7f1abda72eb authored by Chris Swierczewski on 31 January 2018, 17:48:55 UTC, committed by Jean Kossaifi on 01 February 2018, 08:48:56 UTC
We add the QR decomposition function `qr()` to the backends as well as update `norm()` to accept different axes.
1 parent 156ba08
Tip revision: 88086cbd26cd52f95ba549b9ae6fe7f1abda72eb authored by Chris Swierczewski on 31 January 2018, 17:48:55 UTC
Add functionality to backend
Add functionality to backend
Tip revision: 88086cb
Makefile
# Automate testing etc
BACKEND?='mxnet'
all: install test
install:
pip install -e .
test:
TENSORLY_BACKEND=$(BACKEND) pytest -v tensorly
test-all:
TENSORLY_BACKEND='mxnet' pytest -v tensorly
TENSORLY_BACKEND='numpy' pytest -v tensorly
TENSORLY_BACKEND='pytorch' pytest -v tensorly
test-coverage:
TENSORLY_BACKEND=$(BACKEND) pytest -v --cov tensorly tensorly
Computing file changes ...