0d3ad09023941e3cf1987ce6dc42e8e0e1975d8c,gpflow/transforms.py,Rescale,__str__,#Rescale#,206

Before Change


                self.chain_transform.log_jacobian_tensor(x * self.factor)

    def __str__(self):
        return "R" + self.chain_transform.__str__()


class DiagMatrix(Transform):
    

After Change


        return tf.cast(N, settings.tf_float) * tf.log(self.factor)

    def __str__(self):
        return "{}*".format(self.factor)


class DiagMatrix(Transform):
    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: GPflow/GPflow
Commit Name: 0d3ad09023941e3cf1987ce6dc42e8e0e1975d8c
Time: 2017-11-06
Author: st@prowler.io
File Name: gpflow/transforms.py
Class Name: Rescale
Method Name: __str__


Project Name: GPflow/GPflow
Commit Name: 01c2aa38bde1f3b97360204cae96076db04c9c95
Time: 2017-11-23
Author: st--@users.noreply.github.com
File Name: gpflow/transforms.py
Class Name: Rescale
Method Name: __str__


Project Name: spectralpython/spectral
Commit Name: 31ed95c543831c0ae0d07b2d347cbe920614bb0a
Time: 2015-07-08
Author: don@ohspite.net
File Name: spectral/spectral.py
Class Name: ImageArray
Method Name: __repr__


Project Name: elfi-dev/elfi
Commit Name: 35671f92c206628a9f3633b995ce21c254806a2e
Time: 2017-03-06
Author: jarno.lintusaari@aalto.fi
File Name: elfi/model/elfi_model.py
Class Name: NodeReference
Method Name: __repr__