7ec8073d76fd15dceb93d663f9722f1125b0e74a,test/lazy/test_sum_lazy_tensor.py,TestSumLazyTensorMultiBatch,create_lazy_tensor,#TestSumLazyTensorMultiBatch#,44

Before Change


    def create_lazy_tensor(self):
        mat1 = torch.randn(2, 3, 4, 4)
        lt1 = NonLazyTensor(mat1 @ mat1.transpose(-1, -2))
        mat2 = torch.randn(2, 3, 4, 4)
        lt2 = NonLazyTensor(mat2 @ mat2.transpose(-1, -2))
        return lt1 + lt2

    def evaluate_lazy_tensor(self, lazy_tensor):

After Change


    skip_slq_tests = True

    def create_lazy_tensor(self):
        c1 = torch.tensor([
            [[2, 0.5, 0, 0], [5, 1, 2, 0]],
            [[2, 0.5, 0, 0], [5, 1, 2, 0]]
        ], dtype=torch.float, requires_grad=True)
        t1 = ToeplitzLazyTensor(c1)
        c2 = torch.tensor([
            [[2, 0.5, 0, 0], [5, 1, 2, 0]],
            [[2, 0.5, 0, 0], [6, 0, 1, -1]],
        ], dtype=torch.float, requires_grad=True)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: cornellius-gp/gpytorch
Commit Name: 7ec8073d76fd15dceb93d663f9722f1125b0e74a
Time: 2019-03-18
Author: gpleiss@gmail.com
File Name: test/lazy/test_sum_lazy_tensor.py
Class Name: TestSumLazyTensorMultiBatch
Method Name: create_lazy_tensor


Project Name: OpenMined/PySyft
Commit Name: 4799011c72a144199bdd2ba80b887bca23134c40
Time: 2020-08-13
Author: vova@promail.spb.ru
File Name: tests/syft/lib/torch/parameter_test.py
Class Name:
Method Name: test_parameter_serde


Project Name: opencv/opencv_extra
Commit Name: 191e716d801665bab599ca81d3d7ef10445fcdbd
Time: 2020-02-15
Author: gdp.1807@gmail.com
File Name: testdata/dnn/onnx/generate_onnx_models.py
Class Name:
Method Name: