parameters: (self, source_array)
docstring: Peform an synchronize copy from the array.
  
          Parameters
          ----------
          source_array : array_like
              The data source we should like to copy from.
docstring_summary: Peform an synchronize copy from the array.
docstring_tokens: Peform an synchronize copy from the array .
function: def _sync_copyfrom(self, source_array):
          """Peform an synchronize copy from the array.
  
          Parameters
          ----------
          source_array : array_like
              The data source we should like to copy from.
          """
          if not isinstance(source_array, np.ndarray):
              try:
                  source_array = np.array(source_array, dtype=self.dtype)
              except:
                  raise TypeError('array must be an array_like data,' +
                                  'type %s is not supported' % str(type(array)))
          source_array = np.ascontiguousarray(source_array, dtype=self.dtype)
          if source_array.shape != self.shape:
              raise ValueError('array shape do not match the shape of NDArray')
          check_call(_LIB.MXNDArraySyncCopyFromCPU(
              self.handle,
              source_array.ctypes.data_as(ctypes.c_void_p),
              ctypes.c_size_t(source_array.size)))
function_tokens: def _sync_copyfrom ( self , source_array ) : if not isinstance ( source_array , np . ndarray ) : try : source_array = np . array ( source_array , dtype = self . dtype ) except : raise TypeError ( 'array must be an array_like data,' + 'type %s is not supported' % str ( type ( array ) ) ) source_array = np . ascontiguousarray ( source_array , dtype = self . dtype ) if source_array . shape != self . shape : raise ValueError ( 'array shape do not match the shape of NDArray' ) check_call ( _LIB . MXNDArraySyncCopyFromCPU ( self . handle , source_array . ctypes . data_as ( ctypes . c_void_p ) , ctypes . c_size_t ( source_array . size ) ) )