parameters: (self, trainer_num)
docstring: Set trainer num
  
          Args:
              trainer_num(int): trainer num
  
          Examples:
              .. code-block:: python
  
                import paddle.fluid as fluid
                dataset = fluid.DatasetFactory().create_dataset("InMemoryDataset")
                dataset._set_trainer_num(1)
docstring_summary: Set trainer num
docstring_tokens: Set trainer num
function: def _set_trainer_num(self, trainer_num):
          """
          Set trainer num
  
          Args:
              trainer_num(int): trainer num
  
          Examples:
              .. code-block:: python
  
                import paddle.fluid as fluid
                dataset = fluid.DatasetFactory().create_dataset("InMemoryDataset")
                dataset._set_trainer_num(1)
  
          """
          self.trainer_num = trainer_num
function_tokens: def _set_trainer_num ( self , trainer_num ) : self . trainer_num = trainer_num