evaluate - multiple declarations
Function evaluate
Evaluates an operation graph with a single root node.
This overload is here for convenience. Internally, the multi-output version of evaluate is called.
Parameters
Name | Description |
---|---|
op | The root node of the operation graph. |
args | A set of variable assignments. |
Returns
A Buffer
containing the result of the computation.
Function evaluate
Evaluates a several nodes from the operation graph.
Parameters
Name | Description |
---|---|
ops | The nodes of the operation graph that values should be computed for. |
args | A set of variable assignments. |
Returns
An array of Buffer
objects, each containing the value of the corresponding element in ops
.