84fccd898c45c08279fb5c109e6e234f3a47588a,test/kernels/test_rbf_kernel.py,TestRBFKernel,test_subset_active_compute_radial_basis_function,#TestRBFKernel#,28
Before Change
[64, 36],
]).mul_(-1).div_(lengthscale).exp()
res = kernel(Variable(a), Variable(b)).data
self.assertLess(torch.norm(res - actual), 1e-5)
def test_computes_radial_basis_function(self):
a = torch.Tensor([4, 2, 8]).view(3, 1)
After Change
[4, 0],
[64, 36],
]).mul_(-0.5).div_(lengthscale**2).exp()
res = kernel(a, b)
self.assertLess(torch.norm(res - actual), 1e-5)
def test_computes_radial_basis_function(self):
a = torch.Tensor([4, 2, 8]).view(3, 1)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 5
Instances
Project Name: cornellius-gp/gpytorch
Commit Name: 84fccd898c45c08279fb5c109e6e234f3a47588a
Time: 2018-05-03
Author: balandat@fb.com
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: 84fccd898c45c08279fb5c109e6e234f3a47588a
Time: 2018-05-03
Author: balandat@fb.com
File Name: test/kernels/test_rbf_kernel.py
Class Name: TestRBFKernel
Method Name: test_computes_radial_basis_function
Project Name: cornellius-gp/gpytorch
Commit Name: 84fccd898c45c08279fb5c109e6e234f3a47588a
Time: 2018-05-03
Author: balandat@fb.com
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: 84fccd898c45c08279fb5c109e6e234f3a47588a
Time: 2018-05-03
Author: balandat@fb.com
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: 84fccd898c45c08279fb5c109e6e234f3a47588a
Time: 2018-05-03
Author: balandat@fb.com
File Name: test/kernels/test_rbf_kernel.py
Class Name: TestRBFKernel
Method Name: test_ard