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 wrapping a new TfRecordDataset operation.
|
Output<?> |
handle() |
equals, hashCode, op, toString
public static TfRecordDataset create(Scope scope, Operand<String> filenames, Operand<String> compressionType, Operand<Long> bufferSize)
scope
- current 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()
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<Object>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.