code: def __init__(self, d_in, d_hid, dropout=0.1):
      super(PositionwiseFeedForward, self).__init__()
      self.w_1 = nn.Conv1D(d_in, d_hid, 1)  # position-wise
      self.w_2 = nn.Conv1D(d_hid, d_in, 1)  # position-wise
      self.layer_norm = nn.LayerNorm(d_in)
      self.dropout = nn.Dropout(dropout)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import paddle
  from paddle import ParamAttr
  import paddle.nn
  import paddle.nn.functional
  from paddle.nn.initializer import Normal, XavierNormal
  import numpy
label_desc: Use image node_id 1 to create a new PositionwiseFeedForward object from inherited base classes: nn with example: obj = PositionwiseFeedForward(d_in, d_hid, dropout)