code: def _decimal_prefix(n: int, unit: str, precision: int = 4):
      prefixes = [
          ("E", 18),
          ("P", 15),
          ("T", 12),
          ("G", 9),
          ("M", 6),
          ("k", 3),
      ]
      for prefix, exponent in prefixes:
          scale = 10**exponent
          if n > scale:
              return f"%.{precision}g {prefix}{unit}" % (n / scale)
      return f"{n} {unit}"
  
imports: from collections.abc import Mapping, Sequence
  import dataclasses
  import itertools
  import logging
  import os
  import sys
  from typing import Any, Callable, NamedTuple, Optional
  from haiku._src import summarise
  import jax
  import jax.core
label_desc: Use image node_id 10 for calling a global function with example usage: _decimal_prefix(n, unit, precision) and returns: n, str, unit, unknown