code: def get_inf_resources(instance_type):
      num_chips = 0
      if instance_type in ["inf1.xlarge", "inf1.2xlarge"]:
          num_chips = 1
      elif instance_type == "inf1.6xlarge":
          num_chips = 4
      elif instance_type == "inf1.24xlarge":
          num_chips = 16
  
      return num_chips, f"{128 * num_chips}Mi"
  
imports: import json
  import click
  from collections import namedtuple
  import re
  import yaml
label_desc: Use image node_id 11 for calling a global function with example usage: get_inf_resources(instance_type) and returns: num_chips,  unknown, str