code: def get_tensors_by_names(names):
      """
      Get a list of tensors in the default graph by a list of names.
  
      Args:
          names (list):
      """
      ret = []
      G = tfv1.get_default_graph()
      for n in names:
          opn, varn = get_op_tensor_name(n)
          ret.append(G.get_tensor_by_name(varn))
      return ret
  
file_path: tensorpack/tensorpack/tfutils/common.py
imports: import tensorflow
  from ..compat import tfv1
  from ..utils.argtools import graph_memoized
  from .collect_env import collect_env_info
label_desc: Use image node_id 5 for calling a global function with example usage: get_tensors_by_names(names) and returns: ret