ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

Operands

public final class Operands

Utilities for manipulating operand related types and lists.

Public Methods

static Output[]<?>
asOutputs(Iterable<? extends Operand<?>> inputs)
Converts a list of Operand into an array of Output.

Inherited Methods

Public Methods

public static Output[]<?> asOutputs (Iterable<? extends Operand<?>> inputs)

Converts a list of Operand into an array of Output.

Operation wrappers need to convert back a list of inputs into an array of outputs in order to build an operation, see addInputList(Output[]).

Parameters
inputs an iteration of input operands
Returns
  • an array of outputs