code: def build(self, inputs_shape):
      self.cell.build(input_shape=tuple(inputs_shape))
      self._built = True
      if self._trainable_weights is None:
          self._trainable_weights = list()
  
      for var in self.cell.trainable_variables:
          self._trainable_weights.append(var)
  
imports: import numpy
  import tensorflow
  import tensorlayer
  from tensorlayer.layers import Dense, Dropout, Input
  from tensorlayer.layers.core import Layer
  from tensorlayer.models import Model
label_desc: Use image node_id 2 for calling the Encoder obj's underlying member method code with example usage: obj.build(inputs_shape) without return types