MCPcopy Create free account
hub / github.com/dask/dask / optimize

Method optimize

dask/_expr.py:437–440  ·  view source on GitHub ↗
(self, fuse: bool = False)

Source from the content-addressed store, hash-verified

435 return expr
436
437 def optimize(self, fuse: bool = False) -> Expr:
438 stage: OptimizerStage = "fused" if fuse else "simplified-physical"
439
440 return optimize_until(self, stage)
441
442 def fuse(self) -> Expr:
443 return self

Callers 6

_simplify_downMethod · 0.45
unpack_collectionsFunction · 0.45
to_task_daskFunction · 0.45
computeFunction · 0.45
persistFunction · 0.45

Calls 1

optimize_untilFunction · 0.85

Tested by

no test coverage detected