PrelinearizeTuple

public final class PrelinearizeTuple

An op which linearizes multiple Tensor values to an opaque variant tensor.

Nested Classes

class PrelinearizeTuple.Options Optional attributes for PrelinearizeTuple

Public Methods

Output <Object>
asOutput ()
Returns the symbolic handle of a tensor.
static PrelinearizeTuple
create ( Scope scope, Iterable< Operand <?>> inputs, List< Shape > shapes, Options... options)
Factory method to create a class wrapping a new PrelinearizeTuple operation.
static PrelinearizeTuple.Options
layouts (List<Long> layouts)
Output <?>

Inherited Methods

Public Methods

public Output <Object> asOutput ()

Returns the symbolic handle of a tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.

public static PrelinearizeTuple create ( Scope scope, Iterable< Operand <?>> inputs, List< Shape > shapes, Options... options)

Factory method to create a class wrapping a new PrelinearizeTuple operation.

Parameters
scope current scope
inputs A list of tensors that will be provided using the infeed mechanism.
shapes The shapes of each tensor in `inputs`.
options carries optional attributes values
Returns
  • a new instance of PrelinearizeTuple

public static PrelinearizeTuple.Options layouts (List<Long> layouts)

Parameters
layouts A vector holding the requested layout in minor-to-major sequence for all the tuple shapes in the order the shapes appear in the "shapes" input. The layout elements for a sub-shape can be set to -1 in which case the corresponding layout will be computed by the infeed operation.

public Output <?> output ()