16899da26094af88a108343921184853c5c9f26d,test/lazy/_lazy_tensor_test_case.py,LazyTensorTestCase,test_inv_matmul_matrix,#LazyTensorTestCase#,212
Before Change
)
def test_inv_matmul_matrix(self):
lazy_tensor = self.create_lazy_tensor()
lazy_tensor_copy = lazy_tensor.clone()
evaluated = self.evaluate_lazy_tensor(lazy_tensor_copy)
test_vector = torch.randn(lazy_tensor.size(-1), 5)
with gpytorch.settings.max_cg_iterations(100):
After Change
)
def test_inv_matmul_matrix(self):
lazy_tensor = self.create_lazy_tensor().requires_grad_(True)
lazy_tensor_copy = lazy_tensor.clone().detach_().requires_grad_(True)
evaluated = self.evaluate_lazy_tensor(lazy_tensor_copy)
test_vector = torch.randn(lazy_tensor.size(-1), 5)
with gpytorch.settings.max_cg_iterations(100):
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 7
Instances
Project Name: cornellius-gp/gpytorch
Commit Name: 16899da26094af88a108343921184853c5c9f26d
Time: 2018-12-11
Author: gpleiss@gmail.com
File Name: test/lazy/_lazy_tensor_test_case.py
Class Name: LazyTensorTestCase
Method Name: test_inv_matmul_matrix
Project Name: cornellius-gp/gpytorch
Commit Name: 16899da26094af88a108343921184853c5c9f26d
Time: 2018-12-11
Author: gpleiss@gmail.com
File Name: test/lazy/_lazy_tensor_test_case.py
Class Name: RectangularLazyTensorTestCase
Method Name: test_matmul_vec
Project Name: cornellius-gp/gpytorch
Commit Name: 16899da26094af88a108343921184853c5c9f26d
Time: 2018-12-11
Author: gpleiss@gmail.com
File Name: test/lazy/_lazy_tensor_test_case.py
Class Name: BatchLazyTensorTestCase
Method Name: test_inv_matmul_matrix
Project Name: cornellius-gp/gpytorch
Commit Name: 16899da26094af88a108343921184853c5c9f26d
Time: 2018-12-11
Author: gpleiss@gmail.com
File Name: test/lazy/_lazy_tensor_test_case.py
Class Name: RectangularBatchLazyTensorTestCase
Method Name: test_matmul_matrix
Project Name: cornellius-gp/gpytorch
Commit Name: 16899da26094af88a108343921184853c5c9f26d
Time: 2018-12-11
Author: gpleiss@gmail.com
File Name: test/lazy/_lazy_tensor_test_case.py
Class Name: RectangularLazyTensorTestCase
Method Name: test_matmul_matrix
Project Name: cornellius-gp/gpytorch
Commit Name: 16899da26094af88a108343921184853c5c9f26d
Time: 2018-12-11
Author: gpleiss@gmail.com
File Name: test/lazy/_lazy_tensor_test_case.py
Class Name: LazyTensorTestCase
Method Name: test_inv_matmul_vec