parameters: (self, thread_num)
docstring: Set thread num, it is the num of readers.
  
          Examples:
              .. code-block:: python
  
                import paddle.fluid as fluid
                dataset = fluid.DatasetFactory().create_dataset()
                 dataset.set_thread(12)
  
          Args:
              thread_num(int): thread num
docstring_summary: Set thread num, it is the num of readers.
docstring_tokens: Set thread num it is the num of readers .
function: def set_thread(self, thread_num):
          """
          Set thread num, it is the num of readers.
  
          Examples:
              .. code-block:: python
  
                import paddle.fluid as fluid
                dataset = fluid.DatasetFactory().create_dataset()
                 dataset.set_thread(12)
  
          Args:
              thread_num(int): thread num
          """
          self.dataset.set_thread_num(thread_num)
          self.thread_num = thread_num
function_tokens: def set_thread ( self , thread_num ) : self . dataset . set_thread_num ( thread_num ) self . thread_num = thread_num