parameters: (self)
docstring: Set data_feed_desc before load or shuffle,
          user no need to call this function.
docstring_summary: Set data_feed_desc before load or shuffle,
          user no need to call this function.
docstring_tokens: Set data_feed_desc before load or shuffle user no need to call this function .
function: def _prepare_to_run(self):
          """
          Set data_feed_desc before load or shuffle,
          user no need to call this function.
          """
          if self.thread_num > len(self.filelist):
              self.thread_num = len(self.filelist)
          self.dataset.set_thread_num(self.thread_num)
          self.dataset.set_data_feed_desc(self._desc())
          self.dataset.create_readers()
function_tokens: def _prepare_to_run ( self ) : if self . thread_num > len ( self . filelist ) : self . thread_num = len ( self . filelist ) self . dataset . set_thread_num ( self . thread_num ) self . dataset . set_data_feed_desc ( self . _desc ( ) ) self . dataset . create_readers ( )