69e3319c4bffaa78823be2267f036d3d3fdf286e,tensorlayer/layers/activation.py,PTRelu6,__init__,#PTRelu6#Any#Any#Any#Any#,196

Before Change


    ):

        // super(PTRelu6, self).__init__(prev_layer=prev_layer, act=leaky_twice_relu6, a_init_args=a_init_args, name=name)
        super().__init__(name)
        self.channel_shared = channel_shared
        self.a_init = a_init
        self.a_init_args = a_init_args

After Change


            name=None  // "ptrelu6"
    ):

        super(PTRelu6, self).__init__(name)
        self.channel_shared = channel_shared
        self.in_channels = in_channels
        self.a_init = a_init

        if self.channel_shared:
            self.build((None,))
            self._built = True
        elif self.in_channels:
            self.build((None, self.in_channels))
            self._built = True

        logging.info("PTRelu6 %s: channel_shared: %s" % (self.name, self.channel_shared))

    def __repr__(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: tensorlayer/tensorlayer
Commit Name: 69e3319c4bffaa78823be2267f036d3d3fdf286e
Time: 2019-03-19
Author: jingqing.zhang15@imperial.ac.uk
File Name: tensorlayer/layers/activation.py
Class Name: PTRelu6
Method Name: __init__


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


Project Name: tensorlayer/tensorlayer
Commit Name: 69e3319c4bffaa78823be2267f036d3d3fdf286e
Time: 2019-03-19
Author: jingqing.zhang15@imperial.ac.uk
File Name: tensorlayer/layers/activation.py
Class Name: PTRelu6
Method Name: __init__


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