parameters: (self, graph=None, name=None, type=None, tensor=None)
docstring: create a tensor object by tensor name or by tensor pointer
          :param graph: <graph object>
          :param name: <str> tensor name
          :param type: <data_type> : the data type
          :param tensor: <tensor pointer> normal used by the sys
docstring_summary: create a tensor object by tensor name or by tensor pointer
          :param graph: <graph object>
          :param name: <str> tensor name
          :param type: <data_type> : the data type
          :param tensor: <tensor pointer> normal used by the sys
docstring_tokens: create a tensor object by tensor name or by tensor pointer : param graph : <graph object > : param name : <str > tensor name : param type : <data_type > : the data type : param tensor : <tensor pointer > normal used by the sys
function: def __init__(self, graph=None, name=None, type=None, tensor=None):
          """
          create a tensor object by tensor name or by tensor pointer
          :param graph: <graph object>
          :param name: <str> tensor name
          :param type: <data_type> : the data type
          :param tensor: <tensor pointer> normal used by the sys
          """
          if tensor:
              self.tensor = tensor
          else:
              _LIB.create_graph_tensor.restype = tensor_t
              self.tensor = _LIB.create_graph_tensor(
                  ctypes.c_void_p(graph.graph), c_str(name), type
              )
          self._data = None
          self.shape_number = None
          self.length = 4
          pass
function_tokens: def __init__ ( self , graph = None , name = None , type = None , tensor = None ) : if tensor : self . tensor = tensor else : _LIB . create_graph_tensor . restype = tensor_t self . tensor = _LIB . create_graph_tensor ( ctypes . c_void_p ( graph . graph ) , c_str ( name ) , type ) self . _data = None self . shape_number = None self . length = 4 pass