code: def aggregate_bbox_coords(feature_dict):
      """ "Aggregate coordinates into boxes."""
      feature_dict["bboxes"] = tf.stack(
          [
              feature_dict["xmin"],
              feature_dict["ymin"],
              feature_dict["xmax"],
              feature_dict["ymax"],
          ],
          axis=2,
      )
      # Remove these temporary fields.
      for coord_name in {"xmax", "xmin", "ymax", "ymin"}:
          feature_dict.pop(coord_name)
      return feature_dict
  
imports: from typing import Optional, Union
  from absl import logging
  from dmvr import builders
  from dmvr import processors
  import ml_collections
  import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: aggregate_bbox_coords(feature_dict) and returns: feature_dict