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

Method optimize

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

Source from the content-addressed store, hash-verified

430 return expr
431
432 def optimize(self, fuse: bool = False) -> Expr:
433 stage: OptimizerStage = "fused" if fuse else "simplified-physical"
434
435 return optimize_until(self, stage)
436
437 def fuse(self) -> Expr:
438 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