code: def convert_to_tensor_v2(
      value, dtype=None, dtype_hint=None, name=None
  ) -> tensor_lib.Tensor:
      """Converts the given `value` to a `Tensor`."""
      # preferred_dtype = preferred_dtype or dtype_hint
      return tensor_conversion_registry.convert(
          value, dtype, name, preferred_dtype=dtype_hint
      )
  
file_path: tensorflow-upstream/tensorflow/python/framework/tensor_conversion.py
imports: from tensorflow.python.framework import tensor
  from tensorflow.python.framework import tensor_conversion_registry
  from tensorflow.python.util import deprecation
  from tensorflow.python.util import dispatch
  from tensorflow.python.util import tf_export
label_desc: Use image node_id 4 for calling a global function with example usage: convert_to_tensor_v2(value, dtype, dtype_hint, name) and returns: tensor_conversion_registry