0ee8c00c8e4759edeeaebea99a4a10a4be9680db,kymatio/scattering3d/utils.py,,generate_weighted_sum_of_gaussians,#,7

Before Change


        signals = signals.cuda()

    for i_signal in range(positions.size(0)):
        n_points = positions[i_signal].size(0)
        for i_point in range(n_points):
            if weights[i_signal, i_point] == 0:
                break
            weight = weights[i_signal, i_point]

After Change


    signals = np.zeros((positions.shape[0], M, N, O))

    for i_signal in range(positions.shape[0]):
        n_points = positions[i_signal].shape[0]
        for i_point in range(n_points):
            if weights[i_signal, i_point] == 0:
                break
            weight = weights[i_signal, i_point]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: kymatio/kymatio
Commit Name: 0ee8c00c8e4759edeeaebea99a4a10a4be9680db
Time: 2020-02-18
Author: edouard.oyallon@lip6.fr
File Name: kymatio/scattering3d/utils.py
Class Name:
Method Name: generate_weighted_sum_of_gaussians


Project Name: mapillary/inplace_abn
Commit Name: e6bbf54046cf4567e88cb130300b6b78ec88cb27
Time: 2018-11-28
Author: samuel@mapillary.com
File Name: test_imagenet.py
Class Name:
Method Name: validate


Project Name: PIQuIL/QuCumber
Commit Name: ea0558209ebd7790f5b3da49fba171b88ddb0c1f
Time: 2019-12-28
Author: emerali@users.noreply.github.com
File Name: tests/test_observables.py
Class Name: MockWaveFunction
Method Name: amplitude