class_docstr: Protocol type for objects that can be converted to Tensor.
docstr: Converts this object to a Tensor.
  
  Args:
    dtype: data type for the returned Tensor
    name: a name for the operations which create the Tensor
  Returns:
    A Tensor.
docstr_tok: ["Converts","this","object","to","a","Tensor",".","Args",":","dtype",":","data","type","for","the","returned","Tensor","name",":","a","name","for","the","operations","which","create","the","Tensor","Returns",":","A","Tensor","."]
code: def __tf_tensor__(self, dtype=None, name=None):
      """Converts this object to a Tensor.
  
      Args:
        dtype: data type for the returned Tensor
        name: a name for the operations which create the Tensor
      Returns:
        A Tensor.
      """
      pass
  
imports: import abc
  import inspect
  import sys
  import textwrap
  from typing import Union
  import numpy
  from tensorflow.python.types import doc_typealias
  from tensorflow.python import pywrap_tensorflow
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 1 for calling the TensorProtocol obj's underlying member method code with example usage: obj.__tf_tensor__(dtype, name) without return types