cacf8374b13cfb3b772cd0f3b871ce053b792695,tensorlayer/layers/shape.py,Reshape,__init__,#Reshape#Any#Any#,88

Before Change


        super().__init__(name)
        self.shape = shape
        logging.info("Reshape %s" % (self.name))
        if not self.shape:
            raise ValueError("Shape list can not be empty")

        self.build()
        self._built = True

    def build(self, inputs_shape=None):

After Change


    

    def __init__(self, shape, name=None):  //"reshape"):
        super(Reshape, self).__init__(name)
        self.shape = shape

        logging.info("Reshape %s" % (self.name))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: tensorlayer/tensorlayer
Commit Name: cacf8374b13cfb3b772cd0f3b871ce053b792695
Time: 2019-03-22
Author: jingqing.zhang15@imperial.ac.uk
File Name: tensorlayer/layers/shape.py
Class Name: Reshape
Method Name: __init__


Project Name: NTMC-Community/MatchZoo
Commit Name: 2692f696e534b05bdbbb40e725018e6e3287f969
Time: 2018-12-24
Author: i@uduse.com
File Name: matchzoo/layers/matching_layer.py
Class Name: MatchingLayer
Method Name: __init__


Project Name: GPflow/GPflow
Commit Name: 0741f86561249b49db3f6cf6068d21d95c8d9330
Time: 2017-11-20
Author: art.art.v@gmail.com
File Name: gpflow/training/tensorflow_optimizer.py
Class Name: _TensorFlowOptimizer
Method Name: __init__