e95aef6716ee8b2e0b647468ffe7f5bf37d4ce47,gpytorch/lazy/lazy_tensor.py,LazyTensor,_mul_matrix,#LazyTensor#Any#,423
Before Change
:obj:`gpytorch.lazy.LazyTensor`
from .mul_lazy_tensor import MulLazyTensor
return MulLazyTensor(self, other).evaluate_kernel()
def _preconditioner(self):
(Optional) define a preconditioner (P) for linear conjugate gradients
After Change
from .non_lazy_tensor import NonLazyTensor
from .mul_lazy_tensor import MulLazyTensor
self = self.evaluate_kernel()
other = other.evaluate_kernel()
if isinstance(self, NonLazyTensor) or isinstance(other, NonLazyTensor):
return NonLazyTensor(self.evaluate() * other.evaluate())
else:

In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: cornellius-gp/gpytorch
Commit Name: e95aef6716ee8b2e0b647468ffe7f5bf37d4ce47
Time: 2019-03-18
Author: gpleiss@gmail.com
File Name: gpytorch/lazy/lazy_tensor.py
Class Name: LazyTensor
Method Name: _mul_matrix
Project Name: cornellius-gp/gpytorch
Commit Name: 0f8802fba8f55cd66300017fdf9b7189183ff9d5
Time: 2019-04-12
Author: gpleiss@gmail.com
File Name: gpytorch/kernels/product_structure_kernel.py
Class Name: ProductStructureKernel
Method Name: __call__
Project Name: cornellius-gp/gpytorch
Commit Name: b821df469dbf44ab1f1f3564c454eb2787cd412b
Time: 2019-04-11
Author: gpleiss@gmail.com
File Name: gpytorch/kernels/product_structure_kernel.py
Class Name: ProductStructureKernel
Method Name: __call__