code: def __init__(self, func):
      self.func = func
  
imports: from icevision.imports import *
  from icevision.utils import *
  from icevision.core import *
label_desc: Use image node_id 1 to create a new FuncSplitter object from inherited base classes: DataSplitter with example: obj = FuncSplitter(func)