code: def write_decomposition_util_file(path: str) -> None:
      decomposition_str = gen_serialized_decompisitions()
      decomposition_mappings = gen_decomposition_mappings()
      file_components = [
          DECOMP_HEADER,
          decomposition_str,
          DECOMP_CENTER,
          decomposition_mappings,
          DECOMP_END,
      ]
      print(
          "writing file to : ",
          path + "/" + DECOMPOSITION_UTIL_FILE_NAME,
      )
      with open(
          os.path.join(path, DECOMPOSITION_UTIL_FILE_NAME), "wb"
      ) as out_file:
          final_output = "".join(file_components)
          out_file.write(final_output.encode("utf-8"))
  
imports: import os
  from pathlib import Path
  from torch.jit._decompositions import decomposition_table
label_desc: Use image node_id 3 for calling a global function with example usage: write_decomposition_util_file(path) without return types