code: def create_recurrent_layer(
      layer_type,
      initial_size,
      hidden_size,
      nlayers,
      dropout=0,
      **kwargs,
  ):
      layer_type = layer_type.lower()
      assert layer_type in rnn_layers
      module, hidden_count = rnn_layers[layer_type]
  
      if nlayers == 1:
          dropout = 0
  
      return (
          module(
              initial_size,
              hidden_size,
              nlayers,
              dropout=dropout,
              **kwargs,
          ),
          hidden_count,
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: create_recurrent_layer(layer_type, initial_size, hidden_size, nlayers, dropout) and returns: module,  hidden_count