class_docstr: Customized prepare batch callable for trainers or evaluators which support extra input data for the network.
  Extra items are specified by the `extra_keys` parameter and are extracted from the input dictionary (ie. the batch).
  This uses `default_prepare_batch` but requires dictionary inputs.
  
  Args:
      extra_keys: If a string or sequence of strings is provided, values from the input dictionary are extracted from
          those keys and passed to the network as extra positional arguments. If a dictionary is provided, every pair
          `(k, v)` in that dictionary will become a new keyword argument assigning to `k` the value in the input
          dictionary keyed to `v`.
class_docstr_tok: ["Customized","prepare","batch","callable","for","trainers","or","evaluators","which","support","extra","input","data","for","the","network",".","Extra","items","are","specified","by","the","`","extra_keys","`","parameter","and","are","extracted","from","the","input","dictionary","(","ie",".","the","batch",")",".","This","uses","`","default_prepare_batch","`","but","requires","dictionary","inputs",".","Args",":","extra_keys",":","If","a","string","or","sequence","of","strings","is","provided",",","values","from","the","input","dictionary","are","extracted","from","those","keys","and","passed","to","the","network","as","extra","positional","arguments",".","If","a","dictionary","is","provided",",","every","pair","`","(","k",",","v",")","`","in","that","dictionary","will","become","a","new","keyword","argument","assigning","to","`","k","`","the","value","in","the","input","dictionary","keyed","to","`","v","`","."]
code: def __init__(
      self, extra_keys: str | Sequence[str] | dict[str, str]
  ) -> None:
      self.extra_keys = extra_keys
  
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from collections.abc import Callable, Sequence
  from typing import TYPE_CHECKING, Any, cast
  import torch
  from monai.config import IgniteInfo
  from monai.transforms import apply_transform
  from monai.utils import ensure_tuple, min_version, optional_import
  from monai.utils.enums import CommonKeys, GanKeys
label_desc: Use image node_id 1 to create a new PrepareBatchExtraInput object from inherited base classes: PrepareBatch with example: obj = PrepareBatchExtraInput(extra_keys)