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 to wrap a new TensorArrayPack operation to the graph.
|
static TensorArrayPack.Options |
elementShape(Shape elementShape) |
Output<T> |
value() |
equals, hashCode, toStringpublic static <T> TensorArrayPack<T> create(Scope scope, Operand<String> handle, Operand<Float> flowIn, Class<T> dtype, TensorArrayPack.Options... options)
scope - current graph scopehandle - flowIn - dtype - options - carries optional attributes valuespublic static TensorArrayPack.Options elementShape(Shape elementShape)
elementShape - public Output<T> asOutput()
OperandInputs 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 © 2015–2019. All rights reserved.