MCPcopy Create free account
hub / github.com/anyoptimization/pymoo / __call__

Method __call__

pymoo/parallelization/dask.py:14–16  ·  view source on GitHub ↗
(self, f, X)

Source from the content-addressed store, hash-verified

12 self.client = client
13
14 def __call__(self, f, X):
15 jobs = [self.client.submit(f, x) for x in X]
16 return [job.result() for job in jobs]
17
18 def __getstate__(self):
19 state = self.__dict__.copy()

Callers

nothing calls this directly

Calls 1

resultMethod · 0.80

Tested by

no test coverage detected