e1a27cbdee130d80c01a925a4433c99e43f70060,gpytorch/kernels/kernel.py,Kernel,_set_lengthscale,#Kernel#Any#,270
Before Change
raise RuntimeError("Kernel has no lengthscale.")
if not torch.is_tensor(value):
value = torch.tensor(value)
self.initialize(raw_lengthscale=self.raw_lengthscale_constraint.inverse_transform(value))
def size(self, x1, x2):
After Change
raise RuntimeError("Kernel has no lengthscale.")
if not torch.is_tensor(value):
value = torch.as_tensor(value).to(self.raw_lengthscale)
self.initialize(raw_lengthscale=self.raw_lengthscale_constraint.inverse_transform(value))
def size(self, x1, x2):
In pattern: SUPERPATTERN
Frequency: 10
Non-data size: 4
Instances Project Name: cornellius-gp/gpytorch
Commit Name: e1a27cbdee130d80c01a925a4433c99e43f70060
Time: 2019-04-09
Author: balandat@fb.com
File Name: gpytorch/kernels/kernel.py
Class Name: Kernel
Method Name: _set_lengthscale
Project Name: cornellius-gp/gpytorch
Commit Name: e1a27cbdee130d80c01a925a4433c99e43f70060
Time: 2019-04-09
Author: balandat@fb.com
File Name: gpytorch/kernels/cosine_kernel.py
Class Name: CosineKernel
Method Name: _set_period_length
Project Name: cornellius-gp/gpytorch
Commit Name: e1a27cbdee130d80c01a925a4433c99e43f70060
Time: 2019-04-09
Author: balandat@fb.com
File Name: gpytorch/kernels/scale_kernel.py
Class Name: ScaleKernel
Method Name: _set_outputscale
Project Name: cornellius-gp/gpytorch
Commit Name: e1a27cbdee130d80c01a925a4433c99e43f70060
Time: 2019-04-09
Author: balandat@fb.com
File Name: gpytorch/kernels/spectral_mixture_kernel.py
Class Name: SpectralMixtureKernel
Method Name: _set_mixture_means
Project Name: cornellius-gp/gpytorch
Commit Name: e1a27cbdee130d80c01a925a4433c99e43f70060
Time: 2019-04-09
Author: balandat@fb.com
File Name: gpytorch/likelihoods/noise_models.py
Class Name: _HomoskedasticNoiseBase
Method Name: _set_noise
Project Name: cornellius-gp/gpytorch
Commit Name: e1a27cbdee130d80c01a925a4433c99e43f70060
Time: 2019-04-09
Author: balandat@fb.com
File Name: gpytorch/kernels/spectral_mixture_kernel.py
Class Name: SpectralMixtureKernel
Method Name: _set_mixture_scales
Project Name: cornellius-gp/gpytorch
Commit Name: e1a27cbdee130d80c01a925a4433c99e43f70060
Time: 2019-04-09
Author: balandat@fb.com
File Name: gpytorch/kernels/linear_kernel.py
Class Name: LinearKernel
Method Name: _set_variance
Project Name: cornellius-gp/gpytorch
Commit Name: e1a27cbdee130d80c01a925a4433c99e43f70060
Time: 2019-04-09
Author: balandat@fb.com
File Name: gpytorch/likelihoods/multitask_gaussian_likelihood.py
Class Name: MultitaskGaussianLikelihood
Method Name: _set_noise
Project Name: cornellius-gp/gpytorch
Commit Name: e1a27cbdee130d80c01a925a4433c99e43f70060
Time: 2019-04-09
Author: balandat@fb.com
File Name: gpytorch/kernels/periodic_kernel.py
Class Name: PeriodicKernel
Method Name: _set_period_length
Project Name: cornellius-gp/gpytorch
Commit Name: e1a27cbdee130d80c01a925a4433c99e43f70060
Time: 2019-04-09
Author: balandat@fb.com
File Name: gpytorch/kernels/spectral_mixture_kernel.py
Class Name: SpectralMixtureKernel
Method Name: _set_mixture_weights