code: def search_input_names(graphdef: tf.compat.v1.GraphDef) -> List[str]:
      """Search for input nodes
  
      Arguments:
          graphdef {tf.compat.v1.GraphDef} -- TF Graph definition
  
      Returns:
          List[str] -- List of input node names
      """
      res = []
      for n in graphdef.node:
          if n.op == "Placeholder":
              res.append(n.name)
      return res
  
imports: from google.protobuf import text_format
  import tensorflow
  from typing import List
label_desc: Use image node_id 3 for calling a global function with example usage: search_input_names(graphdef) and returns: res