4c6458b841bb49610b5cf6b9fbab94df5cad85ee,gpytorch/lazy/toeplitz_lazy_tensor.py,ToeplitzLazyTensor,_quad_form_derivative,#ToeplitzLazyTensor#Any#Any#,20

Before Change



        res = (sym_toeplitz_derivative_quadratic_form(left_vecs, right_vecs),)
        if self.column.ndimension() == 1 and res[0].ndimension() == 2:
            res = (res[0].sum(0),)
        return res

    def _size(self):
        if self.column.ndimension() == 2:

After Change



        // Collapse any expanded broadcast dimensions
        if res.dim() > self.column.dim():
            res = res.view(-1, *self.column.shape).sum(0)

        return res,

    def _size(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: cornellius-gp/gpytorch
Commit Name: 4c6458b841bb49610b5cf6b9fbab94df5cad85ee
Time: 2019-01-23
Author: gpleiss@gmail.com
File Name: gpytorch/lazy/toeplitz_lazy_tensor.py
Class Name: ToeplitzLazyTensor
Method Name: _quad_form_derivative


Project Name: rusty1s/pytorch_geometric
Commit Name: b48c943b9f6248dbdd42d0fce44658b937098372
Time: 2017-10-23
Author: matthias.fey@tu-dortmund.de
File Name: torch_geometric/nn/functional/spline_gcn.py
Class Name:
Method Name: spline_gcn


Project Name: cornellius-gp/gpytorch
Commit Name: f76a4dabb4cd38ee58d01a35c5b511e224d060d2
Time: 2018-09-17
Author: gpleiss@gmail.com
File Name: gpytorch/lazy/sum_batch_lazy_tensor.py
Class Name: SumBatchLazyTensor
Method Name: _matmul