class_docstr: A simple Device/CPU Array object in runtime.
docstr: Check object identity equality
  
  Parameters
  ----------
  other : object
      The other object to compare to
  
  Returns
  -------
  same : bool
      Whether other is same as self.
docstr_tok: ["Check","object","identity","equality","Parameters","--","--","--","--","--","other",":","object","The","other","object","to","compare","to","Returns","--","--","--","-","same",":","bool","Whether","other","is","same","as","self","."]
code: def same_as(self, other):
      """Check object identity equality
  
      Parameters
      ----------
      other : object
          The other object to compare to
  
      Returns
      -------
      same : bool
          Whether other is same as self.
      """
      if not isinstance(other, NDArrayBase):
          return False
      return self.__hash__() == other.__hash__()
  
imports: from __future__ import absolute_import
  import ctypes
  import sys
  import numpy
  from .base import _FFI_MODE, _LIB, c_array, c_str, check_call, string_types
  from .runtime_ctypes import dgl_shape_index_t, DGLArray, DGLArrayHandle, DGLContext, DGLDataType, TypeCode
label_desc: Use image node_id 8 for calling the NDArrayBase obj's underlying member method code with example usage: obj.same_as(other) and returns: unknown, False