code: def _clean_flops(
      flop: DefaultDict[str, DefaultDict[str, int]], N: int
  ) -> None:
      for _, sub_flop in flop.items():
          for opr in sub_flop:
              sub_flop[opr] = sub_flop[opr] // N
  
imports: import copy
  import math
  import warnings
  from collections import defaultdict, deque
  from dataclasses import dataclass, field
  from enum import Enum
  from time import perf_counter
  from typing import Any, Callable, DefaultDict, Deque, Dict, List, MutableMapping, Optional, Tuple, Union
  import torch
  from torch.nn.parameter import UninitializedParameter
  from torch.utils._pytree import PyTree, tree_flatten
  from torch.utils.hooks import RemovableHandle
  from torchtnt.utils.version import is_torch_version_geq_1_13
  from typing_extensions import Literal
label_desc: Use image node_id 1 for calling a global function with example usage: _clean_flops(flop, N) without return types