dfbc2057a044a82eba0151ab344e12cd065c5f07,tensorlayer/layers/activation.py,PTRelu6,build,#PTRelu6#Any#,212
Before Change
w_shape = inputs_shape[-1]
// Alpha for outputs lower than zeros
self._add_weight(scope_name=self.name, var_name="alpha_low", shape=w_shape, init=self.a_init, init_args=self.a_init_args)
// self.alpha_low = tf.compat.v1.get_variable(
// name=self.name + "/alpha_low", shape=w_shape, initializer=self.a_init, dtype=LayersConfig.tf_dtype,
// **self.a_init_args
// )
After Change
w_shape = inputs_shape[-1]
// Alpha for outputs lower than zeros
self.alpha_low = self._get_weights("alpha_low", shape=w_shape, init=self.a_init, init_args=self.a_init_args)
// self.alpha_low = tf.compat.v1.get_variable(
// name=self.name + "/alpha_low", 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/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: PRelu6
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