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

Method optimize

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

Source from the content-addressed store, hash-verified

445 return expr
446
447 def optimize(self, fuse: bool = False) -> Expr:
448 stage: OptimizerStage = "fused" if fuse else "simplified-physical"
449
450 return optimize_until(self, stage)
451
452 def fuse(self) -> Expr:
453 return self

Callers 7

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

Calls 1

optimize_untilFunction · 0.85

Tested by

no test coverage detected