def grab_numpy_testdata(shape=(3000.0, 128), dtype=np.uint8):
    ndata = utool.get_argval('--ndata', type_=int, default=2)
    print(('[TEST] build ndata=%d numpy arrays with shape=%r' % (ndata, shape)))
    print((' * expected_memory(table_list) = %s' % utool.byte_str2((ndata * np.product(shape)))))
    table_list = [np.empty(shape, dtype=dtype) for i in range(ndata)]
    print((' * memory+overhead(table_list) = %s' % utool.byte_str2(utool.get_object_size(table_list))))
    return table_list
def grab_numpy_testdata(shape=(3000.0, 128), dtype=np.uint8):
    ndata = utool.get_argval('--ndata', type_=int, default=2)
    print(('[TEST] build ndata=%d numpy arrays with shape=%r' % (ndata, shape)))
    print((' * expected_memory(table_list) = %s' % utool.byte_str2((ndata * np.product(shape)))))
    table_list = [np.empty(shape, dtype=dtype) for i in range(ndata)]
    print((' * memory+overhead(table_list) = %s' % utool.byte_str2(utool.get_object_size(table_list))))
    return table_list