4aef40d869462e0aae0920354df6b08a177a54df,gpflow/base.py,Parameter,log_prior,#Parameter#,66

Before Change


        y = self._unconstrained
        dtype = x.dtype

        out = tf.convert_to_tensor(0., dtype=dtype)

        bijector = self.transform
        if self.prior is not None:
            out += tf.reduce_sum(self.prior.log_prob(x))

After Change


                out += tf.reduce_sum(log_det_jacobian)
            return out
        else:
            return tf.convert_to_tensor(0., dtype=self.dtype)

    @property
    def handle(self):
        return self._unconstrained.handle
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: GPflow/GPflow
Commit Name: 4aef40d869462e0aae0920354df6b08a177a54df
Time: 2019-10-14
Author: st--@users.noreply.github.com
File Name: gpflow/base.py
Class Name: Parameter
Method Name: log_prior


Project Name: microsoft/nni
Commit Name: 55b557f17385ca10b8a3e8fb8bbb0d3799906db5
Time: 2019-11-20
Author: 38930155+chicm-ms@users.noreply.github.com
File Name: src/sdk/pynni/nni/compression/tensorflow/builtin_pruners.py
Class Name: FPGMPruner
Method Name: _get_min_gm_kernel_idx


Project Name: keras-team/keras
Commit Name: 3077f277daa5f71a3d51f5217d367e08ab09a550
Time: 2017-10-27
Author: ozabluda@gmail.com
File Name: keras/backend/tensorflow_backend.py
Class Name:
Method Name: _to_tensor


Project Name: GPflow/GPflow
Commit Name: 4e2d5aadad95f4a91e4043e7f473afc71e55fbcd
Time: 2019-06-07
Author: art.art.v@gmail.com
File Name: gpflow/base.py
Class Name: Parameter
Method Name: log_prior