evaluateCPU

Evaluates an several nodes from the operation graph using the CPU.

If the elements of ops have common dependencies, then each dependency is evaluated only once. For this reason it is recommended that this overload is used when multiple nodes should be evaluated.

Buffer[]
evaluateCPU
(
Operation[] ops
,
Buffer[Operation] args = null
)

Parameters

ops
Type: Operation[]

The nodes of the operation graph that values should be computed for.

args
Type: Buffer[Operation]

A set of variable assignments.

Return Value

Type: Buffer[]

An array of Buffer objects, each containing the value of the corresponding element in ops.

Meta