d9069391dc7dfe7cf383815a439f478917eafa63,test/kernels/test_additive_kernel.py,TestAdditiveKernel,test_computes_sum_radial_basis_function_gradient,#TestAdditiveKernel#,48

Before Change


        kernel = kernel_1 + kernel_2
        kernel.eval()

        output = kernel(a, b)
        output.backward(gradient=torch.eye(3))
        res = (
            kernel.kernel_1.log_lengthscale.grad + kernel.kernel_2.log_lengthscale.grad
        )

After Change


        kernel = kernel_1 + kernel_2
        kernel.eval()

        output = kernel(a, b).evaluate()
        output.backward(gradient=torch.eye(3))
        res = (
            kernel.kernel_1.log_lengthscale.grad + kernel.kernel_2.log_lengthscale.grad
        )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 9

Non-data size: 3

Instances


Project Name: cornellius-gp/gpytorch
Commit Name: d9069391dc7dfe7cf383815a439f478917eafa63
Time: 2018-05-27
Author: jrg365@cornell.edu
File Name: test/kernels/test_additive_kernel.py
Class Name: TestAdditiveKernel
Method Name: test_computes_sum_radial_basis_function_gradient


Project Name: cornellius-gp/gpytorch
Commit Name: d9069391dc7dfe7cf383815a439f478917eafa63
Time: 2018-05-27
Author: jrg365@cornell.edu
File Name: test/kernels/test_additive_kernel.py
Class Name: TestAdditiveKernel
Method Name: test_computes_product_of_radial_basis_function


Project Name: cornellius-gp/gpytorch
Commit Name: d9069391dc7dfe7cf383815a439f478917eafa63
Time: 2018-05-27
Author: jrg365@cornell.edu
File Name: test/kernels/test_periodic_kernel.py
Class Name: TestPeriodicKernel
Method Name: test_computes_periodic_function


Project Name: cornellius-gp/gpytorch
Commit Name: d9069391dc7dfe7cf383815a439f478917eafa63
Time: 2018-05-27
Author: jrg365@cornell.edu
File Name: test/kernels/test_rbf_kernel.py
Class Name: TestRBFKernel
Method Name: test_subset_active_computes_radial_basis_function_gradient


Project Name: cornellius-gp/gpytorch
Commit Name: d9069391dc7dfe7cf383815a439f478917eafa63
Time: 2018-05-27
Author: jrg365@cornell.edu
File Name: test/kernels/test_rbf_kernel.py
Class Name: TestRBFKernel
Method Name: test_subset_active_compute_radial_basis_function


Project Name: cornellius-gp/gpytorch
Commit Name: d9069391dc7dfe7cf383815a439f478917eafa63
Time: 2018-05-27
Author: jrg365@cornell.edu
File Name: test/kernels/test_rbf_kernel.py
Class Name: TestRBFKernel
Method Name: test_ard


Project Name: cornellius-gp/gpytorch
Commit Name: d9069391dc7dfe7cf383815a439f478917eafa63
Time: 2018-05-27
Author: jrg365@cornell.edu
File Name: test/kernels/test_rbf_kernel.py
Class Name: TestRBFKernel
Method Name: test_computes_radial_basis_function_gradient


Project Name: cornellius-gp/gpytorch
Commit Name: d9069391dc7dfe7cf383815a439f478917eafa63
Time: 2018-05-27
Author: jrg365@cornell.edu
File Name: test/kernels/test_additive_kernel.py
Class Name: TestAdditiveKernel
Method Name: test_computes_sum_of_radial_basis_function


Project Name: cornellius-gp/gpytorch
Commit Name: d9069391dc7dfe7cf383815a439f478917eafa63
Time: 2018-05-27
Author: jrg365@cornell.edu
File Name: test/kernels/test_rbf_kernel.py
Class Name: TestRBFKernel
Method Name: test_computes_radial_basis_function