T
- data type for value()
output@Operator public final class TensorArrayPack<T> extends PrimitiveOp implements Operand<T>
Modifier and Type | Class and Description |
---|---|
static class |
TensorArrayPack.Options
Optional attributes for
TensorArrayPack |
operation
Modifier and Type | Method and Description |
---|---|
Output<T> |
asOutput()
Returns the symbolic handle of a tensor.
|
static <T> TensorArrayPack<T> |
create(Scope scope,
Operand<String> handle,
Operand<Float> flowIn,
Class<T> dtype,
TensorArrayPack.Options... options)
Factory method to create a class wrapping a new TensorArrayPack operation.
|
static TensorArrayPack.Options |
elementShape(Shape elementShape) |
Output<T> |
value() |
equals, hashCode, op, toString
public static <T> TensorArrayPack<T> create(Scope scope, Operand<String> handle, Operand<Float> flowIn, Class<T> dtype, TensorArrayPack.Options... options)
scope
- current scopehandle
- flowIn
- dtype
- options
- carries optional attributes valuespublic static TensorArrayPack.Options elementShape(Shape elementShape)
elementShape
- public Output<T> 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<T>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.