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
|
Constants
String | OP_NAME | The name of this op, as known by TensorFlow core engine |
Public Methods
Output<TType> |
asOutput()
Returns the symbolic handle of the 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<?> |
output()
|
Inherited Methods
Constants
public static final String OP_NAME
The name of this op, as known by TensorFlow core engine
Constant Value:
"PrelinearizeTuple"
Public Methods
public Output<TType> asOutput ()
Returns the symbolic handle of the 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. |
---|