| Modifier and Type | Class and Description |
|---|---|
static class |
RecordInput.Options
Optional attributes for
RecordInput |
operation| Modifier and Type | Method and Description |
|---|---|
Output<String> |
asOutput()
Returns the symbolic handle of a tensor.
|
static RecordInput.Options |
batchSize(Long batchSize) |
static RecordInput.Options |
compressionType(String compressionType) |
static RecordInput |
create(Scope scope,
String filePattern,
RecordInput.Options... options)
Factory method to create a class to wrap a new RecordInput operation to the graph.
|
static RecordInput.Options |
fileBufferSize(Long fileBufferSize) |
static RecordInput.Options |
fileParallelism(Long fileParallelism) |
static RecordInput.Options |
fileRandomSeed(Long fileRandomSeed) |
static RecordInput.Options |
fileShuffleShiftRatio(Float fileShuffleShiftRatio) |
Output<String> |
records()
A tensor of shape [batch_size].
|
equals, hashCode, toStringpublic static RecordInput create(Scope scope, String filePattern, RecordInput.Options... options)
scope - current graph scopefilePattern - Glob pattern for the data files.options - carries optional attributes valuespublic static RecordInput.Options fileRandomSeed(Long fileRandomSeed)
fileRandomSeed - Random seeds used to produce randomized records.public static RecordInput.Options fileShuffleShiftRatio(Float fileShuffleShiftRatio)
fileShuffleShiftRatio - Shifts the list of files after the list is randomly
shuffled.public static RecordInput.Options fileBufferSize(Long fileBufferSize)
fileBufferSize - The randomization shuffling buffer.public static RecordInput.Options fileParallelism(Long fileParallelism)
fileParallelism - How many sstables are opened and concurrently iterated over.public static RecordInput.Options batchSize(Long batchSize)
batchSize - The batch size.public static RecordInput.Options compressionType(String compressionType)
compressionType - The type of compression for the file. Currently ZLIB and
GZIP are supported. Defaults to none.public Output<String> 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<String>OperationBuilder.addInput(Output)Copyright © 2015–2019. All rights reserved.