class_docstr: 提供多卡情况下使用的内部 sampler
class_docstr_tok: ["\u63d0\u4f9b\u591a\u5361\u60c5\u51b5\u4e0b\u4f7f\u7528\u7684\u5185\u90e8","sampler"]
code: def __init__(self, ds_ind_list: List) -> None:
      self.ds_ind_list = ds_ind_list
  
imports: import array
  import numpy
  from typing import Union, List, Iterable, Dict
  from fastNLP.envs.imports import _NEED_IMPORT_TORCH
label_desc: Use image node_id 1 to create a new InnerSampler object  with example: obj = InnerSampler(ds_ind_list)