Class PrelinearizeTuple
java.lang.Object
org.tensorflow.op.RawOp
org.tensorflow.op.tpu.PrelinearizeTuple
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classOptional attributes forPrelinearizeTuple -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of this op, as known by TensorFlow core engine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasOutput()Returns the symbolic handle of the tensor.static PrelinearizeTuplecreate(Scope scope, Iterable<Operand<?>> inputs, List<Shape> shapes, PrelinearizeTuple.Options... options) Factory method to create a class wrapping a new PrelinearizeTuple operation.static PrelinearizeTuple.OptionsSets the layouts option.static PrelinearizeTuple.OptionsSets the layouts option.output()Gets output.
-
Field Details
-
OP_NAME
The name of this op, as known by TensorFlow core engine- See Also:
-
-
Constructor Details
-
PrelinearizeTuple
-
-
Method Details
-
create
@Endpoint(describeByClass=true) public 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.- Parameters:
scope- current scopeinputs- A list of tensors that will be provided using the infeed mechanism.shapes- The shapes of each tensor ininputs.options- carries optional attribute values- Returns:
- a new instance of PrelinearizeTuple
-
layouts
Sets the layouts option.- 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.- Returns:
- this Options instance.
-
layouts
Sets the layouts option.- 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.- Returns:
- this Options instance.
-
output
-
asOutput
Description copied from interface:OperandReturns 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.
-