code: def __init__(
      self,
      transforms: TransformsSeqType,
      bbox_params: typing.Optional[
          typing.Union[dict, "BboxParams"]
      ] = None,
      keypoint_params: typing.Optional[
          typing.Union[dict, "KeypointParams"]
      ] = None,
      additional_targets: typing.Optional[typing.Dict[str, str]] = None,
      p: float = 1.0,
      is_check_shapes: bool = True,
      save_key: str = "replay",
  ):
      super(ReplayCompose, self).__init__(
          transforms,
          bbox_params,
          keypoint_params,
          additional_targets,
          p,
          is_check_shapes,
      )
      self.set_deterministic(True, save_key=save_key)
      self.save_key = save_key
  
imports: from __future__ import division
  import random
  import typing
  import warnings
  from collections import defaultdict
  import numpy
  from ..None import random_utils
  from .bbox_utils import BboxParams, BboxProcessor
  from .keypoints_utils import KeypointParams, KeypointsProcessor
  from .serialization import SERIALIZABLE_REGISTRY, Serializable, get_shortest_class_fullname, instantiate_nonserializable
  from .transforms_interface import BasicTransform
  from .utils import format_args, get_shape
label_desc: Use image node_id 1 to create a new ReplayCompose object from inherited base classes: Compose with example: obj = ReplayCompose(transforms, bbox_params, keypoint_params, additional_targets, p, is_check_shapes, save_key)