https://github.com/tensorly/tensorly
Revision 73490388b1cd7611de9b1ef1538a23003e9e6e0a authored by Jean Kossaifi on 01 May 2019, 12:01:28 UTC, committed by GitHub on 01 May 2019, 12:01:28 UTC
Adding a KruskalTensor class and enforces that kruskal tensors (e.g. tensors decomposed with Parafac) should always be expressed as mappings (tuple like) object of the form (weights, factor_list). It also adds various function to check the validity of input decomposed tensors (CP, Tucker and MPS) and efficient operations on decomposed tensors.
Tip revision: 73490388b1cd7611de9b1ef1538a23003e9e6e0a authored by Jean Kossaifi on 01 May 2019, 12:01:28 UTC
Merge pull request #87 from JeanKossaifi/tensor-classes
Merge pull request #87 from JeanKossaifi/tensor-classes
Tip revision: 7349038
setup.cfg
[metadata]
description-file = README.rst
licence-file = LICENSE.txt
[flake8]
# References:
# https://flake8.readthedocs.io/en/latest/user/configuration.html
# https://flake8.readthedocs.io/en/latest/user/error-codes.html
# Note: there cannot be spaces after comma's here
exclude = __init__.py
ignore =
# Extra space in brackets
E20,
# Multiple spaces around ","
E231,E241,
# Comments
E26,
# Import formatting
E4,
# Ambiguous variable names
E741
max-line-length = 90
Computing file changes ...