c52b511770c639f639fcdb550bc449ae0e5bc309,tensorlayer/layers/extend.py,ExpandDims,__init__,#ExpandDims#Any#Any#Any#,43

Before Change



        logging.info("ExpandDims  %s: axis: %d" % (self.name, axis))

        with tf.variable_scope(name):
            self.outputs = tf.expand_dims(self.inputs, axis=axis)

        self._add_layers(self.outputs)


class Tile(Layer):
    

After Change


            name="expand_dims",
    ):
        // super(ExpandDims, self).__init__(prev_layer=prev_layer, name=name)
        super().__init__(name)
        self.axis = axis
        logging.info("ExpandDims  %s: axis: %d" % (self.name, self.axis))

    def build(self, inputs):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


Project Name: tensorlayer/tensorlayer
Commit Name: c52b511770c639f639fcdb550bc449ae0e5bc309
Time: 2018-12-04
Author: dhsig552@163.com
File Name: tensorlayer/layers/extend.py
Class Name: ExpandDims
Method Name: __init__


Project Name: tensorlayer/tensorlayer
Commit Name: b28dd6df8909de61bb6e7ddd18d3890bc57b10b5
Time: 2019-01-22
Author: rundi_wu@pku.edu.cn
File Name: tensorlayer/layers/normalization.py
Class Name: LayerNorm
Method Name: __init__


Project Name: tensorlayer/tensorlayer
Commit Name: 2e0f0929df4b01b269962a6423d6cb78b6d3da17
Time: 2018-12-04
Author: dhsig552@163.com
File Name: tensorlayer/layers/inputs.py
Class Name: EmbeddingInput
Method Name: __init__


Project Name: tensorlayer/tensorlayer
Commit Name: d79992cfd669974296a34d861060c921a8b12d9f
Time: 2018-12-05
Author: dhsig552@163.com
File Name: tensorlayer/layers/convolution/expert_conv.py
Class Name: Conv2dLayer
Method Name: __init__