code: def _tensor_conversion(var, dtype=None, name=None, as_ref=False):
      return var._dense_var_to_tensor(
          dtype=dtype, name=name, as_ref=as_ref
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import contextlib
  import inspect
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_conversion_registry
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import gen_resource_variable_ops
label_desc: Use image node_id 3 for calling a global function with example usage: _tensor_conversion(var, dtype, name, as_ref) and returns: var