code: def model(x, is_train=True, reuse=False, name_scope="env1"):
      with tf.variable_scope(name_scope, reuse=reuse):
          net = tl.layers.InputLayer(x, name="input")
          net = tl.layers.TimeDistributedLayer(
              net,
              layer_class=tl.layers.DenseLayer,
              args={"n_units": 50, "name": "dense"},
              name="time_dense",
          )
      return net
  
file_path: TensorLayer/tests/pending/test_layers_time_distributed.py
imports: import os
  import unittest
  import tensorflow
  import tensorlayer
  from tests.utils import CustomTestCase
label_desc: Use image node_id 1 for calling a global function with example usage: model(x, is_train, reuse, name_scope) and returns: net