docstr: Add the clip and corresponding id.
  Args:
      idx (int): the current index of the clip.
      frames (list[ndarray]): list of images in "BGR" format.
docstr_tok: ["Add","the","clip","and","corresponding","id",".","Args",":","idx","(","int",")",":","the","current","index","of","the","clip",".","frames","(","list","[","ndarray","]",")",":","list","of","images","in","``","BGR","''","format","."]
code: def add_frames(self, idx, frames):
      """
      Add the clip and corresponding id.
      Args:
          idx (int): the current index of the clip.
          frames (list[ndarray]): list of images in "BGR" format.
      """
      self.frames = frames
      self.id = idx
  
imports: import itertools
  import numpy
  import matplotlib.pyplot
  import torch
  from sklearn.metrics import confusion_matrix
  import slowfast.utils.logging
  from slowfast.datasets.utils import pack_pathway_output, tensor_normalize
label_desc: Use image node_id 2 for calling the TaskInfo obj's underlying member method code with example usage: obj.add_frames(idx, frames) without return types