dfbc2057a044a82eba0151ab344e12cd065c5f07,tensorlayer/layers/activation.py,PTRelu6,build,#PTRelu6#Any#,212
 
Before Change
        self.alpha_low_constrained = tf.nn.sigmoid(self.alpha_low, name="constraining_alpha_low_in_0_1")
        // Alpha for outputs higher than 6
        self._add_weight(scope_name=self.name, var_name="alpha_high", shape=w_shape, init=self.a_init, init_args=self.a_init_args)
        // self.alpha_high = tf.compat.v1.get_variable(
        //     name=self.name + "/alpha_high", shape=w_shape, initializer=self.a_init, dtype=LayersConfig.tf_dtype,
        //     **self.a_init_args
        // )
After Change
        self.alpha_low_constrained = tf.nn.sigmoid(self.alpha_low, name="constraining_alpha_low_in_0_1")
        // Alpha for outputs higher than 6
        self.alpha_high = self._get_weights("alpha_high", shape=w_shape, init=self.a_init, init_args=self.a_init_args)
        // self.alpha_high = tf.compat.v1.get_variable(
        //     name=self.name + "/alpha_high", shape=w_shape, initializer=self.a_init, dtype=LayersConfig.tf_dtype,
        //     **self.a_init_args
        // )

In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
 Project Name: tensorlayer/tensorlayer
 Commit Name: dfbc2057a044a82eba0151ab344e12cd065c5f07
 Time: 2019-01-15
 Author: dhsig552@163.com
 File Name: tensorlayer/layers/activation.py
 Class Name: PTRelu6
 Method Name: build
 Project Name: tensorlayer/tensorlayer
 Commit Name: dfbc2057a044a82eba0151ab344e12cd065c5f07
 Time: 2019-01-15
 Author: dhsig552@163.com
 File Name: tensorlayer/layers/activation.py
 Class Name: PRelu6
 Method Name: build
 Project Name: tensorlayer/tensorlayer
 Commit Name: dfbc2057a044a82eba0151ab344e12cd065c5f07
 Time: 2019-01-15
 Author: dhsig552@163.com
 File Name: tensorlayer/layers/convolution/atrous_conv.py
 Class Name: AtrousDeConv2d
 Method Name: build
 Project Name: tensorlayer/tensorlayer
 Commit Name: dfbc2057a044a82eba0151ab344e12cd065c5f07
 Time: 2019-01-15
 Author: dhsig552@163.com
 File Name: tensorlayer/layers/activation.py
 Class Name: PRelu
 Method Name: build