I was trying to use the module multiprocessing in python, the code is shown below
def myFun(x): \'\'\' x is np.array \'\'\' #do something here