d0a7db43dcdc459821b11e52a598ac860bfb9dc9,gpytorch/kernels/product_structure_kernel.py,ProductStructureKernel,forward,#ProductStructureKernel#Any#Any#Any#,46

Before Change


        if batch_dims == (0, 2):
            raise RuntimeError("ProductStructureKernel does not accept the batch_dims argument.")

        res = self.base_kernel(x1, x2, batch_dims=(0, 2), **params).evaluate_kernel()

        evaluate = False
        if not isinstance(res, LazyTensor):
            evaluate = True

After Change


        if batch_dims == (0, 2):
            raise RuntimeError("ProductStructureKernel does not accept the batch_dims argument.")

        res = self.base_kernel(x1, x2, batch_dims=(0, 2), **params)

        evaluate = False
        if not isinstance(res, LazyTensor):
            evaluate = True
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: cornellius-gp/gpytorch
Commit Name: d0a7db43dcdc459821b11e52a598ac860bfb9dc9
Time: 2018-12-31
Author: gpleiss@gmail.com
File Name: gpytorch/kernels/product_structure_kernel.py
Class Name: ProductStructureKernel
Method Name: forward


Project Name: cornellius-gp/gpytorch
Commit Name: d0a7db43dcdc459821b11e52a598ac860bfb9dc9
Time: 2018-12-31
Author: gpleiss@gmail.com
File Name: gpytorch/kernels/grid_kernel.py
Class Name: GridKernel
Method Name: forward


Project Name: cornellius-gp/gpytorch
Commit Name: d0a7db43dcdc459821b11e52a598ac860bfb9dc9
Time: 2018-12-31
Author: gpleiss@gmail.com
File Name: gpytorch/kernels/additive_structure_kernel.py
Class Name: AdditiveStructureKernel
Method Name: forward