18bcf04414a4c1e9287073401d3f95872e09f8c7,gpytorch/lazy/lazy_evaluated_kernel_tensor.py,LazyEvaluatedKernelTensor,evaluate_kernel,#LazyEvaluatedKernelTensor#,182
Before Change
self._cached_kernel_eval = self._cached_kernel_eval[0]
self._cached_kernel_eval = lazify(self._cached_kernel_eval)
return self._cached_kernel_eval
@cached
def evaluate(self):
return self.evaluate_kernel().evaluate()
After Change
):
res = res[0]
return lazify(res)
@cached
def evaluate(self):
return self.evaluate_kernel().evaluate()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: cornellius-gp/gpytorch
Commit Name: 18bcf04414a4c1e9287073401d3f95872e09f8c7
Time: 2019-03-13
Author: gpleiss@gmail.com
File Name: gpytorch/lazy/lazy_evaluated_kernel_tensor.py
Class Name: LazyEvaluatedKernelTensor
Method Name: evaluate_kernel
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__
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__