operation| Modifier and Type | Method and Description |
|---|---|
Output<Object> |
asOutput()
Returns the symbolic handle of a tensor.
|
static TFRecordDataset |
create(Scope scope,
Operand<String> filenames,
Operand<String> compressionType,
Operand<Long> bufferSize)
Factory method to create a class to wrap a new TFRecordDataset operation to the graph.
|
Output<?> |
handle() |
equals, hashCode, toStringpublic static TFRecordDataset create(Scope scope, Operand<String> filenames, Operand<String> compressionType, Operand<Long> bufferSize)
scope - current graph scopefilenames - A scalar or vector containing the name(s) of the file(s) to be
read.compressionType - A scalar containing either (i) the empty string (no
compression), (ii) "ZLIB", or (iii) "GZIP".bufferSize - A scalar representing the number of bytes to buffer. A value of
0 means no buffering will be performed.public Output<?> handle()
public Output<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<Object>OperationBuilder.addInput(Output)Copyright © 2015–2019. All rights reserved.