def reduce_memmap(a):
 m = _get_backing_memmap(a)
 if (m is not None):
  return _reduce_memmap_backed(a, m)
 else:
  return (loads, (dumps(np.asarray(a), protocol=HIGHEST_PROTOCOL),))

def reduce_memmap ( a ) : m = _get_backing_memmap ( a ) if ( m is not None ) : return _reduce_memmap_backed ( a , m ) else : return ( loads , ( dumps ( np . asarray ( a ) , protocol = HIGHEST_PROTOCOL ) , ) )
pickle the descriptors of a memmap instance to reopen on same file .