d9069391dc7dfe7cf383815a439f478917eafa63,gpytorch/kernels/grid_kernel.py,GridKernel,forward,#GridKernel#Any#Any#,28

Before Change


                ]
            else:
                grid_var = grid_var.view(n_dim, -1, 1)
                covars = self.base_kernel_module(grid_var, grid_var, **kwargs)
                covars = [NonLazyVariable(covars[i : i + 1]) for i in range(n_dim)]

            if n_dim > 1:
                covar = KroneckerProductLazyVariable(*covars)

After Change


                ]
            else:
                grid_var = grid_var.view(n_dim, -1, 1)
                covars = self.base_kernel_module(grid_var, grid_var, **kwargs).evaluate()
                covars = [covars[i : i + 1] for i in range(n_dim)]

            if n_dim > 1:
                covar = KroneckerProductLazyVariable(*covars)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: cornellius-gp/gpytorch
Commit Name: d9069391dc7dfe7cf383815a439f478917eafa63
Time: 2018-05-27
Author: jrg365@cornell.edu
File Name: gpytorch/kernels/grid_kernel.py
Class Name: GridKernel
Method Name: forward


Project Name: cornellius-gp/gpytorch
Commit Name: d9069391dc7dfe7cf383815a439f478917eafa63
Time: 2018-05-27
Author: jrg365@cornell.edu
File Name: gpytorch/kernels/inducing_point_kernel.py
Class Name: InducingPointKernel
Method Name: _inducing_mat


Project Name: cornellius-gp/gpytorch
Commit Name: d9069391dc7dfe7cf383815a439f478917eafa63
Time: 2018-05-27
Author: jrg365@cornell.edu
File Name: gpytorch/kernels/inducing_point_kernel.py
Class Name: InducingPointKernel
Method Name: _get_covariance