MCPcopy
hub / github.com/facebookresearch/nevergrad / submit

Method submit

nevergrad/optimization/utils.py:155–156  ·  view source on GitHub ↗
(self, fn: tp.Callable[..., tp.Any], *args: tp.Any, **kwargs: tp.Any)

Source from the content-addressed store, hash-verified

153 """
154
155 def submit(self, fn: tp.Callable[..., tp.Any], *args: tp.Any, **kwargs: tp.Any) -> DelayedJob:
156 return DelayedJob(fn, *args, **kwargs)
157
158
159def _tobytes(x: tp.ArrayLike) -> bytes:

Callers 3

_submit_jobsFunction · 0.95
minimizeMethod · 0.95
test_sequential_executorFunction · 0.95

Calls 1

DelayedJobClass · 0.85

Tested by 1

test_sequential_executorFunction · 0.76