code: def get(query):
      """Get conversion function for objects of `cls`.
  
      Args:
        query: The type to query for.
  
      Returns:
        A list of conversion functions in increasing order of priority.
      """
      conversion_funcs = _tensor_conversion_func_cache.get(query)
      if conversion_funcs is None:
          with _tensor_conversion_func_lock:
              # Has another thread populated the cache in the meantime?
              conversion_funcs = _tensor_conversion_func_cache.get(
                  query
              )
              if conversion_funcs is None:
                  conversion_funcs = []
                  for _, funcs_at_priority in sorted(
                      _tensor_conversion_func_registry.items()
                  ):
                      conversion_funcs.extend(
                          (base_type, conversion_func)
                          for base_type, conversion_func in funcs_at_priority
                          if issubclass(query, base_type)
                      )
                  _tensor_conversion_func_cache[
                      query
                  ] = conversion_funcs
      return conversion_funcs
  
file_path: tensorflow/tensorflow/python/framework/tensor_conversion_registry.py
imports: import collections
  import threading
  import numpy
  from tensorflow.python.framework import dtypes
  from tensorflow.python.types import core
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 3 for calling a global function with example usage: get(query) and returns: conversion_funcs