code: def azure_worker_memory_per_core_mib(worker_type: str) -> int:
      if worker_type == "F":
          m = 2048
      elif worker_type == "D":
          m = 4096
      else:
          assert worker_type == "E"
          m = 8192
      return m
  
imports: import logging
  import re
  from typing import Dict, Optional, Tuple
  import sortedcontainers
  from ...globals import RESERVED_STORAGE_GB_PER_CORE
label_desc: Use image node_id 5 for calling a global function with example usage: azure_worker_memory_per_core_mib(worker_type) and returns: m