class_docstr: Any iterable of (label, text_input) pairs qualifies as a ``Dataset``.
class_docstr_tok: ["Any","iterable","of","(","label",",","text_input",")","pairs","qualifies","as","a","``","Dataset","``","."]
docstr: Load multi data samples and extend to dataset.
  
  :param list|dict|Sample data_samples:
  :return:
docstr_tok: ["Load","multi","data","samples","and","extend","to","dataset",".",":","param","list|dict|Sample","data_samples",":",":","return",":"]
code: def extend(self, data_samples):
      r"""
      Load multi data samples and extend to dataset.
  
      :param list|dict|Sample data_samples:
      :return:
  
      """
      success_count = 0
      norm_samples = self.norm_input(data_samples)
  
      for single_data in norm_samples:
          if self.append(single_data):
              success_count += 1
  
      return len(norm_samples), success_count
  
imports: from tqdm import tqdm
  from ...common.utils import logger
  from ..component.sample import Sample, CnSample
  from ...common.utils.load import task_class_load
  from ...common.settings import SAMPLE_PATH, NLP_TASK_MAP
  from ...common.utils.file_io import read_csv, read_json, save_csv, save_json
label_desc: Use image node_id 15 for calling the Dataset obj's underlying member method code with example usage: obj.extend(data_samples) and returns: len,  success_count