784d00f0c38fb5fd77aed0a6dffb93cc98a0c990,gpytorch/likelihoods/gaussian_likelihood.py,GaussianLikelihood,pyro_sample_y,#GaussianLikelihood#Any#Any#Any#Any#,87

Before Change


            noise = noise.squeeze(0)
        y_lazy_covar = DiagLazyTensor(var_f + noise.expand_as(var_f))
        y_dist = MultivariateNormal(y_mean, y_lazy_covar)
        if len(y_dist.batch_shape):
            y_dist = y_dist.__class__(
                y_dist.mean.contiguous().view(-1), BlockDiagLazyTensor(y_dist.lazy_covariance_matrix)
            )
            y_obs = y_obs.view_as(y_dist.mean)
        pyro.sample(name_prefix + "._training_labels", y_dist, obs=y_obs)

After Change



        y_dist = pyro.distributions.Independent(
            pyro.distributions.Normal(y_mean, (var_f + noise.expand_as(var_f)).sqrt()),
            reinterpreted_batch_ndims=y_mean.dim(),
        )

        // See if we"re using a sampled GP distribution
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: cornellius-gp/gpytorch
Commit Name: 784d00f0c38fb5fd77aed0a6dffb93cc98a0c990
Time: 2019-01-29
Author: gpleiss@gmail.com
File Name: gpytorch/likelihoods/gaussian_likelihood.py
Class Name: GaussianLikelihood
Method Name: pyro_sample_y


Project Name: mariogeiger/se3cnn
Commit Name: 99e8a69bad6b3bd641a27d1cbfddc4e71e6fb821
Time: 2019-07-05
Author: geiger.mario@gmail.com
File Name: se3cnn/point_utils.py
Class Name:
Method Name: neighbor_feature_matrix


Project Name: PIQuIL/QuCumber
Commit Name: 10bdd46d76d35cfba3a484b007ea3e14af801813
Time: 2019-12-09
Author: emerali@users.noreply.github.com
File Name: qucumber/rbm/binary_rbm.py
Class Name: BinaryRBM
Method Name: effective_energy