code: def _convert_float_values_to_decimals(
      data: Dict[str, Any]
  ) -> Dict[str, Any]:
      # Attempt to recurse
      def _helper(o: Any) -> Any:
          if isinstance(o, float):
              return Decimal(str(o))
          if isinstance(o, list):
              return [_helper(v) for v in o]
          if isinstance(o, dict):
              return {_helper(k): _helper(v) for k, v in o.items()}
          return o
  
      return {k: _helper(v) for k, v in data.items()}
  
file_path: pytorch/tools/stats/upload_metrics.py
imports: import datetime
  import inspect
  import os
  import time
  import uuid
  from decimal import Decimal
  from typing import Any, Dict
  from warnings import warn
label_desc: Use image node_id 3 for calling a global function with example usage: _convert_float_values_to_decimals(data) and returns: unknown, o, Decimal, unknown, unknown