1
Ipyparallel错误运行此代码,我有这样的错误:与DIRECTVIEW
from ipyparallel import error, AsyncHubResult, DirectView as dv, Reference
@dv.parallel(block=True)
def np_std_par(x):
return np_std(x)
TypeError: unbound method parallel() must be called with
DirectView instance as first argument (got nothing instead)
我如何使用装饰? 这听起来不清楚。