class_docstr: Logs validation data as a wandb.Table.
  
  ValidationDataLogger is intended to be used inside of library integrations
  in order to facilitate the process of optionally building a validation dataset
  and logging periodic predictions against such validation data using WandB best
  practices.
docstr: Produce predictions by passing `validation_inputs` to `predict_fn`.
  
  Args:
      predict_fn (Callable): Any function which can accept `validation_inputs` and produce
          a list of vectors or dictionary of lists of vectors
  
  Returns:
      (Sequence | Dict[str, Sequence]): The returned value of predict_fn
docstr_tok: ["Produce","predictions","by","passing","`","validation_inputs","`","to","`","predict_fn","`",".","Args",":","predict_fn","(","Callable",")",":","Any","function","which","can","accept","`","validation_inputs","`","and","produce","a","list","of","vectors","or","dictionary","of","lists","of","vectors","Returns",":","(","Sequence","|","Dict","[","str",",","Sequence","]",")",":","The","returned","value","of","predict_fn"]
code: def make_predictions(
      self, predict_fn: Callable
  ) -> Union[Sequence, Dict[str, Sequence]]:
      """Produce predictions by passing `validation_inputs` to `predict_fn`.
  
      Args:
          predict_fn (Callable): Any function which can accept `validation_inputs` and produce
              a list of vectors or dictionary of lists of vectors
  
      Returns:
          (Sequence | Dict[str, Sequence]): The returned value of predict_fn
      """
      return predict_fn(self.validation_inputs)
  
file_path: wandb/wandb/sdk/integration_utils/data_logging.py
imports: import sys
  from collections.abc import Sequence
  from typing import TYPE_CHECKING, Any, Callable, Dict, List, Optional, Union
  import wandb
label_desc: Use image node_id 2 for calling the ValidationDataLogger obj's underlying member method code with example usage: obj.make_predictions(predict_fn) and returns: predict_fn