16899da26094af88a108343921184853c5c9f26d,gpytorch/lazy/mul_lazy_tensor.py,MulLazyTensor,clone,#MulLazyTensor#,196

Before Change



    def clone(self):
        args = [arg.clone() for arg in self.lazy_tensors]
        kwargs = dict((key, val.clone() if hasattr(val, "clone") else val) for key, val in self._kwargs.items())
        return self.__class__(*args, **kwargs)

    def diag(self):
        res = prod([lazy_tensor.diag() for lazy_tensor in self.lazy_tensors])

After Change


        return tuple(list(left_deriv_args) + list(right_deriv_args))

    def clone(self):
        return self.__class__(*tuple(lazy_tensor.clone() for lazy_tensor in self.lazy_tensors))

    def detach_(self):
        if hasattr(self, "_mul_args_memo"):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: cornellius-gp/gpytorch
Commit Name: 16899da26094af88a108343921184853c5c9f26d
Time: 2018-12-11
Author: gpleiss@gmail.com
File Name: gpytorch/lazy/mul_lazy_tensor.py
Class Name: MulLazyTensor
Method Name: clone


Project Name: ilastik/ilastik
Commit Name: 7d1cc23f0f01bd9a4a946a2bc64fc474c7dcfc82
Time: 2017-02-24
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/edgeTraining/opEdgeTraining.py
Class Name: OpEdgeProbabilitiesDict
Method Name: execute


Project Name: okfn-brasil/serenata-de-amor
Commit Name: ed82e27fef3c21f0d86e0e8efdc923f527da37ae
Time: 2017-05-11
Author: cuducos@users.noreply.github.com
File Name: jarbas/core/management/commands/irregularities.py
Class Name: Command
Method Name: serialize


Project Name: tensorflow/cleverhans
Commit Name: 7ed752b0002412c5a5f425c39bbc214459107984
Time: 2018-10-19
Author: goodfellow@google.com
File Name: cleverhans/attacks.py
Class Name: Attack
Method Name: construct_variables