def METHOD_NAME(self, indices):
    """Prefetch the data required for this epoch."""
    for ds in self.defn.values():
        if getattr(ds, "supports_prefetch", False):
            ds.METHOD_NAME(indices)