ae11db5d25194cae8ef8998adbfbd96443a10fd6,GPflow/vgp.py,VGP,__init__,#VGP#Any#Any#Any#Any#Any#Any#,46

Before Change



        self.q_mu = Param(np.zeros((self.num_data, self.num_latent)))
        self.q_sqrt = Param(np.eye(self.num_data)[:, :, None] *
                            np.ones((1, 1, self.num_latent)))

    def _compile(self, optimizer=None):
        

After Change


        self.q_mu = Param(np.zeros((self.num_data, self.num_latent)))
        q_sqrt = np.array([np.eye(self.num_data)
                               for _ in range(self.num_latent)]).swapaxes(0, 2)
        self.q_sqrt = Param(q_sqrt, transforms.LowerTriangular(self.num_data, self.num_latent))

    def _compile(self, optimizer=None):
        
        Before calling the standard compile function, check to see if the size
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: GPflow/GPflow
Commit Name: ae11db5d25194cae8ef8998adbfbd96443a10fd6
Time: 2017-07-04
Author: alexggmatthews@googlemail.com
File Name: GPflow/vgp.py
Class Name: VGP
Method Name: __init__


Project Name: NTMC-Community/MatchZoo
Commit Name: a8de441893bd481557e60d2faa089f0750384fcf
Time: 2018-12-27
Author: 948280670@qq.com
File Name: matchzoo/models/cdssm_model.py
Class Name: CDSSMModel
Method Name: get_default_params


Project Name: SheffieldML/GPy
Commit Name: b5cac9af8ca48531a1a03180f418cfcea2f30e3a
Time: 2015-05-22
Author: z.dai@sheffield.ac.uk
File Name: GPy/models/ss_gplvm.py
Class Name: IBPPosterior
Method Name: __init__