code: def convert_type(type_str) -> Optional[str]:
      if type_str == "i32":
          return "int32"
      elif type_str == "u32":
          return "uint32"
      elif type_str == "i64":
          return "int64"
      elif type_str == "u64":
          return "uint64"
      elif type_str == "float":
          return "fp32"
      elif type_str == "double":
          return "fp64"
      else:
          # ignore other types, such as pointer types
          return None
  
imports: import argparse
  import subprocess
  from abc import ABC, abstractmethod
  from typing import Dict, List, Optional
label_desc: Use image node_id 1 for calling a global function with example usage: convert_type(type_str) and returns: str, str, str, str, str, str, None