Skip to content

Commit 731a373

Browse files
author
Aaron Meyer
committed
Standardize module docstrings and whitespace for black check
1 parent 2cc7b48 commit 731a373

File tree

8 files changed

+9
-12
lines changed

8 files changed

+9
-12
lines changed

tensorly/contrib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""A module for experimental functions
22
3-
Allows to add quickly and test new functions for which the API is not necessarily fixed
3+
Allows to add quickly and test new functions for which the API is not necessarily fixed
44
"""

tensorly/contrib/decomposition/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
The :mod:`tensorly.contrib.decomposition` module includes utilities for performing
3-
tensor decomposition for which the API is still evolving.
3+
tensor decomposition for which the API is still evolving.
44
"""
55

66
from ._tt_cross import tensor_train_cross

tensorly/contrib/sparse/tests/test_tenalg.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Sparse-specific tests for the :mod:`tensorly.tenalg` module.
2-
"""
1+
"""Sparse-specific tests for the :mod:`tensorly.tenalg` module."""
32

43
from .... import backend as tl
54

tensorly/decomposition/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
The :mod:`tensorly.decomposition` module includes utilities for performing
3-
tensor decomposition such as CANDECOMP-PARAFAC and Tucker.
3+
tensor decomposition such as CANDECOMP-PARAFAC and Tucker.
44
"""
55

66
from ._cp import parafac, CP, RandomizedCP, randomised_parafac, sample_khatri_rao

tensorly/decomposition/_base_decomposition.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Base classes for all estimators, ensure compatibility with Scikit-Learn
2-
"""
1+
"""Base classes for all estimators, ensure compatibility with Scikit-Learn"""
32

43

54
class DecompositionMixin:

tensorly/parafac2_tensor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Core operations on PARAFAC2 tensors whose second mode evolve over their first.
2-
"""
1+
"""Core operations on PARAFAC2 tensors whose second mode evolve over their first."""
32

43
# Authors: Marie Roald
54
# Yngve Mardal Moe

tensorly/regression/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
"""
22
The :mod:`tensorly.regression` module includes classes for performing Tensor
33
Regression.
44
"""

tensorly/tenalg/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
"""
2-
The :mod:`tensorly.tenalg` module contains utilities for Tensor Algebra
1+
"""
2+
The :mod:`tensorly.tenalg` module contains utilities for Tensor Algebra
33
operations such as khatri-rao or kronecker product, n-mode product, etc.
44
"""
55

0 commit comments

Comments
 (0)