parameters: (self)
return_statement: return DType(d)
docstring: Get the data type of the tensor.
          :return: <The tensor type> like: TENGINE_DT_FP32 etc, -1 on error.
docstring_summary: Get the data type of the tensor.
          :return: <The tensor type> like: TENGINE_DT_FP32 etc, -1 on error.
docstring_tokens: Get the data type of the tensor . : return : <The tensor type > like : TENGINE_DT_FP32 etc - 1 on error .
function: def dtype(self):
          """
          Get the data type of the tensor.
          :return: <The tensor type> like: TENGINE_DT_FP32 etc, -1 on error.
          """
          d = _LIB.get_tensor_data_type(ctypes.c_void_p(self.tensor))
          return DType(d)
function_tokens: def dtype ( self ) : d = _LIB . get_tensor_data_type ( ctypes . c_void_p ( self . tensor ) ) return DType ( d )