Modifier and Type | Class and Description |
---|---|
static class |
PrelinearizeTuple.Options
Optional attributes for
PrelinearizeTuple |
operation
Modifier and Type | Method and Description |
---|---|
Output<Object> |
asOutput()
Returns the symbolic handle of a tensor.
|
static PrelinearizeTuple |
create(Scope scope,
Iterable<Operand<?>> inputs,
List<Shape> shapes,
PrelinearizeTuple.Options... options)
Factory method to create a class wrapping a new PrelinearizeTuple operation.
|
static PrelinearizeTuple.Options |
layouts(List<Long> layouts) |
Output<?> |
output() |
equals, hashCode, op, toString
public static PrelinearizeTuple create(Scope scope, Iterable<Operand<?>> inputs, List<Shape> shapes, PrelinearizeTuple.Options... options)
scope
- current scopeinputs
- A list of tensors that will be provided using the infeed mechanism.shapes
- The shapes of each tensor in `inputs`.options
- carries optional attributes valuespublic static PrelinearizeTuple.Options layouts(List<Long> layouts)
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()
public Output<Object> asOutput()
Operand
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.
asOutput
in interface Operand<Object>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.