Warning: This API is deprecated and will be removed in a future version of TensorFlow after the replacement is stable.

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