34a536941734d83007fb1c20b24c70ea1ed2cdfb,test/lazy/test_interpolated_lazy_variable.py,TestInterpolatedLazyVariable,test_inv_matmul_batch,#TestInterpolatedLazyVariable#,135
Before Change
right_interp_indices = Variable(
torch.LongTensor([[2, 3], [3, 4], [4, 5]]).unsqueeze(0).repeat(5, 1, 1), requires_grad=True
)
right_interp_values = Variable(
torch.Tensor([[1, 2], [0.5, 1], [1, 3]]).unsqueeze(0).repeat(5, 1, 1), requires_grad=True
)
left_interp_values_copy = Variable(left_interp_values.data, requires_grad=True)
right_interp_values_copy = Variable(right_interp_values.data, requires_grad=True)
base_lazy_variable = Variable(base_lazy_variable_mat, requires_grad=True)
base_lazy_variable_copy = Variable(base_lazy_variable_mat, requires_grad=True)
test_matrix_var = Variable(test_matrix, requires_grad=True)
After Change
left_interp_values_copy.requires_grad = True
right_interp_indices = torch.LongTensor([[2, 3], [3, 4], [4, 5]]).unsqueeze(0).repeat(5, 1, 1)
right_interp_values = torch.Tensor([[1, 2], [0.5, 1], [1, 3]]).unsqueeze(0).repeat(5, 1, 1)
right_interp_values_copy = right_interp_values.clone()
right_interp_values.requires_grad = True
right_interp_values_copy.requires_grad = True
interp_lazy_var = InterpolatedLazyVariable(
NonLazyVariable(base_lazy_variable),
left_interp_indices,
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 10
Instances
Project Name: cornellius-gp/gpytorch
Commit Name: 34a536941734d83007fb1c20b24c70ea1ed2cdfb
Time: 2018-06-29
Author: gardner.jake@gmail.com
File Name: test/lazy/test_interpolated_lazy_variable.py
Class Name: TestInterpolatedLazyVariable
Method Name: test_inv_matmul_batch
Project Name: cornellius-gp/gpytorch
Commit Name: 020d3d6dfa1bbcc13f7f7f0a833f57bb2cc8ef9d
Time: 2018-07-03
Author: balandat@fb.com
File Name: test/lazy/test_interpolated_lazy_variable.py
Class Name: TestInterpolatedLazyVariable
Method Name: test_inv_matmul_batch
Project Name: cornellius-gp/gpytorch
Commit Name: 020d3d6dfa1bbcc13f7f7f0a833f57bb2cc8ef9d
Time: 2018-07-03
Author: balandat@fb.com
File Name: test/lazy/test_interpolated_lazy_variable.py
Class Name: TestInterpolatedLazyVariable
Method Name: test_batch_matmul
Project Name: cornellius-gp/gpytorch
Commit Name: 020d3d6dfa1bbcc13f7f7f0a833f57bb2cc8ef9d
Time: 2018-07-03
Author: balandat@fb.com
File Name: test/lazy/test_interpolated_lazy_variable.py
Class Name: TestInterpolatedLazyVariable
Method Name: test_matmul
Project Name: cornellius-gp/gpytorch
Commit Name: 34a536941734d83007fb1c20b24c70ea1ed2cdfb
Time: 2018-06-29
Author: gardner.jake@gmail.com
File Name: test/lazy/test_interpolated_lazy_variable.py
Class Name: TestInterpolatedLazyVariable
Method Name: test_batch_matmul
Project Name: cornellius-gp/gpytorch
Commit Name: 34a536941734d83007fb1c20b24c70ea1ed2cdfb
Time: 2018-06-29
Author: gardner.jake@gmail.com
File Name: test/lazy/test_interpolated_lazy_variable.py
Class Name: TestInterpolatedLazyVariable
Method Name: test_inv_matmul_batch
Project Name: cornellius-gp/gpytorch
Commit Name: 34a536941734d83007fb1c20b24c70ea1ed2cdfb
Time: 2018-06-29
Author: gardner.jake@gmail.com
File Name: test/lazy/test_interpolated_lazy_variable.py
Class Name: TestInterpolatedLazyVariable
Method Name: test_matmul