class_docstr: Split `ids` based on predefined splits.
  
  # Arguments:
      splits: The predefined splits.
  
  # Examples
  
      Split data into three pre-defined groups.
      ```python
      idmap = IDMap(["file1", "file2", "file3", "file4"])
      presplits = [["file4", "file3"], ["file2"], ["file1"]]
  
      data_splitter = FixedSplitter(presplits)
      splits = data_splitter(idmap=idmap)
  
      assert splits == [[3, 2], [1], [0]]
      ```
docstr: Execute the split
  
  # Arguments
      idmap: idmap used for getting ids.
docstr_tok: ["Execute","the","split","#","Arguments","idmap",":","idmap","used","for","getting","ids","."]
code: def split(self, records: Sequence[BaseRecord]):
      """Execute the split
  
      # Arguments
          idmap: idmap used for getting ids.
      """
      return self.splits
  
imports: from icevision.imports import *
  from icevision.utils import *
  from icevision.core import *
label_desc: Use image node_id 2 for calling the FixedSplitter obj's underlying member method code with example usage: obj.split(records) and returns: self