01af2ab25c4d3f40191ce255750a3cd196ea8671,librosa/segment.py,,structure_feature,#Any#Any#Any#,183

Before Change


    if inverse:
        direction = +1
    else:
        direction = -1

    for i in range(1, t):
        struct[:, i] = np.roll(struct[:, i], direction * i, axis=-1)

    if inverse and pad:
        struct = struct[:t]

After Change


    >>> plt.tight_layout()

    """
    if inverse:
        return lag_to_recurrence(rec)
    else:
        return recurrence_to_lag(rec, pad=pad)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: librosa/librosa
Commit Name: 01af2ab25c4d3f40191ce255750a3cd196ea8671
Time: 2015-02-17
Author: brian.mcfee@nyu.edu
File Name: librosa/segment.py
Class Name:
Method Name: structure_feature


Project Name: dpressel/mead-baseline
Commit Name: 1b8ca89144d2eb858ef0763a6f9b272619b7ee59
Time: 2020-10-28
Author: dpressel@gmail.com
File Name: api-examples/transformer_utils.py
Class Name: NextTurnPredictionFileLoader
Method Name: process_line


Project Name: librosa/librosa
Commit Name: 9b95e0f07b60b6a144893dcc506dfaf90db61c95
Time: 2020-05-18
Author: bmcfee@users.noreply.github.com
File Name: librosa/feature/utils.py
Class Name:
Method Name: stack_memory


Project Name: PacktPublishing/Deep-Reinforcement-Learning-Hands-On
Commit Name: 1a89404a84393211c7b370077fafe536a8f44762
Time: 2018-03-02
Author: max.lapan@gmail.com
File Name: ch17/lib/common.py
Class Name:
Method Name: iterate_batches