operation| Modifier and Type | Method | Description |
|---|---|---|
Output<java.lang.Object> |
asOutput() |
Returns the symbolic handle of a tensor.
|
static PrefetchDataset |
create(Scope scope,
Operand<?> inputDataset,
Operand<java.lang.Long> bufferSize,
java.util.List<java.lang.Class<?>> outputTypes,
java.util.List<Shape> outputShapes) |
Factory method to create a class to wrap a new PrefetchDataset operation to the graph.
|
Output<?> |
handle() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, hashCode, toStringpublic static PrefetchDataset create(Scope scope, Operand<?> inputDataset, Operand<java.lang.Long> bufferSize, java.util.List<java.lang.Class<?>> outputTypes, java.util.List<Shape> outputShapes)
scope - current graph scopeinputDataset - bufferSize - The maximum number of elements to buffer in an iterator over
this dataset.outputTypes - outputShapes - public Output<?> handle()
public Output<java.lang.Object> 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<java.lang.Object>OperationBuilder.addInput(Output)