code: def detect_triton_image_hardware_type(image_uri: str) -> HardwareType:
      """Placeholder docstring"""
      return (
          HardwareType.CPU if "cpu" in image_uri else HardwareType.GPU
      )
  
imports: from __future__ import absolute_import
  import logging
  from sagemaker.serve.utils.types import ModelServer, HardwareType
label_desc: Use image node_id 3 for calling a global function with example usage: detect_triton_image_hardware_type(image_uri) and returns: unknown