code: def get_single_task_support(
      dataset, n_pos, n_neg, task, replace=True
  ):
      """Generates one support set purely for specified task.
  
      Parameters
      ----------
      datasets: dc.data.Dataset
          Dataset from which supports are sampled.
      n_pos: int
          Number of positive samples in support.
      n_neg: int
          Number of negative samples in support.
      task: int
          Index of current task.
      replace: bool, optional
          Whether or not to use replacement when sampling supports.
  
      Returns
      -------
      list
          List of NumpyDatasets, each of which is a support set.
      """
      return get_task_support(dataset, 1, n_pos, n_neg, task)[0]
  
imports: import logging
  import time
  import numpy
  from deepchem.data import NumpyDataset
label_desc: Use image node_id 7 for calling a global function with example usage: get_single_task_support(dataset, n_pos, n_neg, task, replace) and returns: get_task_support