class_docstr: A simple Device/CPU Array object in runtime.
docstr: Shape of this array
docstr_tok: ["Shape","of","this","array"]
code: def shape(self):
      """Shape of this array"""
      return tuple(
          self.handle.contents.shape[i]
          for i in range(self.handle.contents.ndim)
      )
  
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 1 for calling the NDArrayBase obj's underlying member method code with example usage: obj.shape() and returns: tuple