code: def convert_to_percent_str(num, denom):
      if denom == 0:
          return "0%"
      return f"{num / denom:.2%}"
  
imports: import torch
  import torch.nn
  from torch.utils._pytree import tree_map, tree_flatten, tree_unflatten
  from typing import List, Any, Dict, Optional, Union, NamedTuple
  from collections import defaultdict
  from torch.utils._python_dispatch import TorchDispatchMode
  from torch.utils.hooks import RemovableHandle
  from torch._decomp import register_decomposition
  from math import prod
  from functools import wraps
label_desc: Use image node_id 19 for calling a global function with example usage: convert_to_percent_str(num, denom) and returns: unknown, str