88ff1953e94cfbbcd53f4d659a1099fce8a7344e,tensorlayer/layers/padding.py,ZeroPad1d,__init__,#ZeroPad1d#Any#Any#Any#,70
Before Change
padding,
name="zeropad1d",
):
Layer.__init__(self, prev_layer=prev_layer, name=name)
self.inputs = prev_layer.outputs
logging.info("ZeroPad1d %s: padding:%s" % (self.name, str(padding)))
self.outputs = tf.keras.layers.ZeroPadding1D(padding=padding, name=name)(self.inputs)
self.all_layers.append(self.outputs)
After Change
self.inputs = prev_layer.outputs
if not isinstance(padding, (int, tuple, dict)):
raise AssertionError()
self.outputs = tf.keras.layers.ZeroPadding1D(padding=padding, name=name)(self.inputs)
self.all_layers.append(self.outputs)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances
Project Name: tensorlayer/tensorlayer
Commit Name: 88ff1953e94cfbbcd53f4d659a1099fce8a7344e
Time: 2018-04-13
Author: DEKHTIARJonathan@users.noreply.github.com
File Name: tensorlayer/layers/padding.py
Class Name: ZeroPad1d
Method Name: __init__
Project Name: tensorlayer/tensorlayer
Commit Name: 88ff1953e94cfbbcd53f4d659a1099fce8a7344e
Time: 2018-04-13
Author: DEKHTIARJonathan@users.noreply.github.com
File Name: tensorlayer/layers/convolution.py
Class Name: UpSampling2dLayer
Method Name: __init__
Project Name: tensorlayer/tensorlayer
Commit Name: 88ff1953e94cfbbcd53f4d659a1099fce8a7344e
Time: 2018-04-13
Author: DEKHTIARJonathan@users.noreply.github.com
File Name: tensorlayer/layers/convolution.py
Class Name: DownSampling2dLayer
Method Name: __init__