3b003f55a73db83af5774fb4d4d6face1e8cc266,gpytorch/distributions/multivariate_normal.py,_MultivariateNormalBase,__init__,#_MultivariateNormalBase#Any#Any#Any#,30

Before Change


    

    def __init__(self, mean, covariance_matrix, validate_args=False):
        self._islazy = any(isinstance(arg, LazyTensor) for arg in (mean, covariance_matrix))
        if self._islazy:
            if validate_args:
                // TODO: add argument validation
                raise NotImplementedError()

After Change


    

    def __init__(self, mean, covariance_matrix, validate_args=False):
        self._islazy = isinstance(mean, LazyTensor) or isinstance(covariance_matrix, LazyTensor)
        if self._islazy:
            if validate_args:
                // TODO: add argument validation
                raise NotImplementedError()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: cornellius-gp/gpytorch
Commit Name: 3b003f55a73db83af5774fb4d4d6face1e8cc266
Time: 2019-04-05
Author: jrg365@cornell.edu
File Name: gpytorch/distributions/multivariate_normal.py
Class Name: _MultivariateNormalBase
Method Name: __init__


Project Name: deepmind/sonnet
Commit Name: a73d3547b513b315d7ad804399d215a31b3381c0
Time: 2017-07-17
Author: tfgg@google.com
File Name: sonnet/python/modules/conv.py
Class Name: Conv3D
Method Name: __init__


Project Name: sympy/sympy
Commit Name: f0556f7b6806d21083c55752046cd7ecfcf1723d
Time: 2021-02-10
Author: harshityadav2k@gmail.com
File Name: sympy/concrete/products.py
Class Name: Product
Method Name: _eval_derivative


Project Name: RaRe-Technologies/gensim
Commit Name: 3c3506d51a2caf6b890de3b1b32a8b85f7566ca5
Time: 2018-09-14
Author: dmitry.persiyanov@gmail.com
File Name: gensim/models/base_any2vec.py
Class Name: BaseWordEmbeddingsModel
Method Name: __init__