b016f0a41a5c82c37d4c050c66c85764cbd937e9,gpytorch/models/variational_gp.py,VariationalGP,__call__,#VariationalGP#Any#,30
Before Change
n_induc = len(self.inducing_points)
full_inputs = torch.cat([self.inducing_points, inputs])
full_output = super(VariationalGP, self).__call__(full_inputs)
full_mean, full_covar = full_output.representation()
induc_mean = full_mean[:n_induc]
test_mean = full_mean[n_induc:]
induc_induc_covar = full_covar[:n_induc, :n_induc]
After Change
n_induc = len(self.inducing_points)
full_inputs = torch.cat([self.inducing_points, inputs])
full_output = super(VariationalGP, self).__call__(full_inputs)
full_mean, full_covar = full_output.mean, full_output.lazy_covariance_matrix
induc_mean = full_mean[:n_induc]
test_mean = full_mean[n_induc:]
induc_induc_covar = full_covar[:n_induc, :n_induc]
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: cornellius-gp/gpytorch
Commit Name: b016f0a41a5c82c37d4c050c66c85764cbd937e9
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: gpytorch/models/variational_gp.py
Class Name: VariationalGP
Method Name: __call__
Project Name: cornellius-gp/gpytorch
Commit Name: b016f0a41a5c82c37d4c050c66c85764cbd937e9
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: gpytorch/likelihoods/multitask_gaussian_likelihood.py
Class Name: MultitaskGaussianLikelihood
Method Name: forward
Project Name: cornellius-gp/gpytorch
Commit Name: b016f0a41a5c82c37d4c050c66c85764cbd937e9
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: gpytorch/models/variational_gp.py
Class Name: VariationalGP
Method Name: __call__
Project Name: cornellius-gp/gpytorch
Commit Name: b016f0a41a5c82c37d4c050c66c85764cbd937e9
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: gpytorch/models/exact_gp.py
Class Name: ExactGP
Method Name: __call__
Project Name: cornellius-gp/gpytorch
Commit Name: b016f0a41a5c82c37d4c050c66c85764cbd937e9
Time: 2018-09-25
Author: gpleiss@gmail.com
File Name: gpytorch/likelihoods/gaussian_likelihood.py
Class Name: GaussianLikelihood
Method Name: forward