Function compile

Compile an Operation graph into a reusable execution plan.

dopt.core.Plan compile (
  Operation[] outputs
);

This can be useful in the case where the function might need to be evaluated multiple times, as it will avoid repeating initialisation and optimisation procedures.

Parameters

NameDescription
outputs The output nodes of the Operation graph.

Returns

A Plan that can be executed.