16914cec3cababd56e18ac775339469f35bf4fa6,GPflow/vgp.py,VGP,build_likelihood,#VGP#,47

Before Change


        f_mean = tf.matmul(K, self.q_alpha) + self.mean_function(self.X)
        // for each of the data-dimensions (columns of Y), find the diagonal
        // of the variance, and also relevant parts of the KL.
        f_var = [], tf.zeros((1,), tf.float64), tf.zeros((1,), tf.float64)
        A_logdet = tf.zeros((1,), tf.float64)
        trAi = tf.zeros((1,), tf.float64)
        for d in range(self.num_latent):
            b = self.q_lambda[:, d]

After Change


        f_mean = tf.matmul(K, self.q_alpha) + self.mean_function(self.X)
        // for each of the data-dimensions (columns of Y), find the diagonal
        // of the variance, and also relevant parts of the KL.
        f_var = []
        A_logdet = tf.zeros((1,), tf.float64)
        trAi = tf.zeros((1,), tf.float64)
        for d in range(self.num_latent):
            b = self.q_lambda[:, d]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: GPflow/GPflow
Commit Name: 16914cec3cababd56e18ac775339469f35bf4fa6
Time: 2016-04-14
Author: james.hensman@gmail.com
File Name: GPflow/vgp.py
Class Name: VGP
Method Name: build_likelihood


Project Name: chainer/chainercv
Commit Name: 4e25beb116336c4c7c1462b752f38937cae1a2db
Time: 2017-05-13
Author: yuyuniitani@gmail.com
File Name: tests/links_tests/model_tests/faster_rcnn_tests/test_faster_rcnn.py
Class Name: DummyRegionProposalNetwork
Method Name: __call__


Project Name: chainer/chainercv
Commit Name: d6c3129f24ea6bea8fa9ab227e399e19fe29cdda
Time: 2017-05-13
Author: yuyuniitani@gmail.com
File Name: chainercv/links/model/faster_rcnn/utils/proposal_creator.py
Class Name: ProposalCreator
Method Name: __call__