Apply the given function to a single model replica.

        Returns:
            Result from applying the function.

def for_model(self, fn):
        """Apply the given function to a single model replica.

        Returns:
            Result from applying the function.
        """
        return ray.get(self.workers[0].for_model.remote(fn))