75e3f5e7892de6a0d86c0aa1bb9313b01d3ad485,python/src/nnabla/normalization_functions.py,,instance_normalization,#Any#Any#Any#Any#Any#Any#Any#,425

Before Change


    axes = _get_axes_excluding(len(x.shape), [channel_axis, ] + batch_axis)

    if output_stat:
        out, mean, std = tensor_normalization(x, axes, eps, output_stat)

        return out * gamma + beta, mean, std

After Change


        assert beta.shape[channel_axis] == adapt_shape[channel_axis],\
            "channel size of beta: {} != channel size of x ({}).".format(beta.shape[channel_axis],
                                                                         adapt_shape[channel_axis])
        beta = broadcast(beta, shape=adapt_shape)

    if gamma is not None and gamma.shape != adapt_shape:
        assert gamma.shape[channel_axis] == adapt_shape[channel_axis], \
            "channel size of gamma: {} != channel size of x ({}).".format(gamma.shape[channel_axis],
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: sony/nnabla
Commit Name: 75e3f5e7892de6a0d86c0aa1bb9313b01d3ad485
Time: 2019-10-22
Author: Akio.Hayakawa@sony.com
File Name: python/src/nnabla/normalization_functions.py
Class Name:
Method Name: instance_normalization


Project Name: pymc-devs/pymc3
Commit Name: e3fd56b08ed5c4d7247a147c3fab7c0fe59e9a0e
Time: 2019-02-16
Author: luciano.paz.neuro@gmail.com
File Name: pymc3/distributions/mixture.py
Class Name: Mixture
Method Name: comp_dists


Project Name: albermax/innvestigate
Commit Name: e0f6dd06cc61043662ff9beee4a4996d434e45f5
Time: 2018-02-20
Author: alber.maximilian@gmail.com
File Name: innvestigate/tools/pattern.py
Class Name: PatternComputer
Method Name: __init__