| Modifier and Type | Class and Description |
|---|---|
static class |
FixedLengthRecordReader.Options
Optional attributes for
FixedLengthRecordReader |
operation| Modifier and Type | Method and Description |
|---|---|
Output<Object> |
asOutput()
Returns the symbolic handle of a tensor.
|
static FixedLengthRecordReader.Options |
container(String container) |
static FixedLengthRecordReader |
create(Scope scope,
Long recordBytes,
FixedLengthRecordReader.Options... options)
Factory method to create a class to wrap a new FixedLengthRecordReader operation to the graph.
|
static FixedLengthRecordReader.Options |
encoding(String encoding) |
static FixedLengthRecordReader.Options |
footerBytes(Long footerBytes) |
static FixedLengthRecordReader.Options |
headerBytes(Long headerBytes) |
static FixedLengthRecordReader.Options |
hopBytes(Long hopBytes) |
Output<?> |
readerHandle()
The handle to reference the Reader.
|
static FixedLengthRecordReader.Options |
sharedName(String sharedName) |
equals, hashCode, toStringpublic static FixedLengthRecordReader create(Scope scope, Long recordBytes, FixedLengthRecordReader.Options... options)
scope - current graph scoperecordBytes - Number of bytes in the record.options - carries optional attributes valuespublic static FixedLengthRecordReader.Options headerBytes(Long headerBytes)
headerBytes - Number of bytes in the header, defaults to 0.public static FixedLengthRecordReader.Options footerBytes(Long footerBytes)
footerBytes - Number of bytes in the footer, defaults to 0.public static FixedLengthRecordReader.Options hopBytes(Long hopBytes)
hopBytes - Number of bytes to hop before each read. Default of 0 means using
record_bytes.public static FixedLengthRecordReader.Options container(String container)
container - If non-empty, this reader is placed in the given container.
Otherwise, a default container is used.public static FixedLengthRecordReader.Options sharedName(String sharedName)
sharedName - If non-empty, this reader is named in the given bucket
with this shared_name. Otherwise, the node name is used instead.public static FixedLengthRecordReader.Options encoding(String encoding)
encoding - The type of encoding for the file. Currently ZLIB and GZIP
are supported. Defaults to none.public Output<?> readerHandle()
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.