parameters: (self)
return_statement: return tuple(pdata[:ndim.value])
docstring: Get shape of current NDArray.
  
          Returns
          -------
          a tuple representing shape of current ndarray
docstring_summary: Get shape of current NDArray.
docstring_tokens: Get shape of current NDArray .
function: def shape(self):
          """Get shape of current NDArray.
  
          Returns
          -------
          a tuple representing shape of current ndarray
          """
          ndim = mx_uint()
          pdata = ctypes.POINTER(mx_uint)()
          check_call(_LIB.MXNDArrayGetShape(
              self.handle, ctypes.byref(ndim), ctypes.byref(pdata)))
          return tuple(pdata[:ndim.value])
function_tokens: def shape ( self ) : ndim = mx_uint ( ) pdata = ctypes . POINTER ( mx_uint ) ( ) check_call ( _LIB . MXNDArrayGetShape ( self . handle , ctypes . byref ( ndim ) , ctypes . byref ( pdata ) ) ) return tuple ( pdata [ : ndim . value ] )