def loadMatrix(ctx, filePath, numPage): #return eager(expr.from_file(filePath, tile_hint = (numPage, numPage / 8))) return eager(expr.from_file_parallel(filePath, "numpy", sparse = True, tile_hint = (numPage, numPage/10)))
def loadMatrix(ctx, filePath, dim): return expr.from_file_parallel(filePath, "numpy", tile_hint=(dim, dim/ 10))
def loadMatrix(ctx, filePath, dim): return expr.from_file_parallel(filePath, tile_hint = (dim, dim / ctx.num_workers))