@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class FixedLengthRecordReader extends Pointer
A Reader that outputs fixed-length records from a file.
Arguments:
* scope: A Scope object
* record_bytes: Number of bytes in the record.
Optional attributes (see Attrs
):
* header_bytes: Number of bytes in the header, defaults to 0.
* footer_bytes: Number of bytes in the footer, defaults to 0.
* hop_bytes: Number of bytes to hop before each read. Default of 0 means using
record_bytes.
* container: If non-empty, this reader is placed in the given container.
Otherwise, a default container is used.
* shared_name: If non-empty, this reader is named in the given bucket
with this shared_name. Otherwise, the node name is used instead.
* encoding: The type of encoding for the file. Currently ZLIB and GZIP
are supported. Defaults to none.
Returns:
* Output
: The handle to reference the Reader.
Modifier and Type | Class and Description |
---|---|
static class |
FixedLengthRecordReader.Attrs
Optional attribute setters for FixedLengthRecordReader
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
FixedLengthRecordReader(Pointer p)
Pointer cast constructor.
|
FixedLengthRecordReader(Scope scope,
long record_bytes) |
FixedLengthRecordReader(Scope scope,
long record_bytes,
FixedLengthRecordReader.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
static FixedLengthRecordReader.Attrs |
Container(BytePointer x) |
static FixedLengthRecordReader.Attrs |
Container(String x) |
static FixedLengthRecordReader.Attrs |
Encoding(BytePointer x) |
static FixedLengthRecordReader.Attrs |
Encoding(String x) |
static FixedLengthRecordReader.Attrs |
FooterBytes(long x) |
static FixedLengthRecordReader.Attrs |
HeaderBytes(long x) |
static FixedLengthRecordReader.Attrs |
HopBytes(long x) |
Node |
node() |
Operation |
operation() |
FixedLengthRecordReader |
operation(Operation setter) |
Output |
reader_handle() |
FixedLengthRecordReader |
reader_handle(Output setter) |
static FixedLengthRecordReader.Attrs |
SharedName(BytePointer x) |
static FixedLengthRecordReader.Attrs |
SharedName(String x) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public FixedLengthRecordReader(Pointer p)
Pointer(Pointer)
.public FixedLengthRecordReader(@Const @ByRef Scope scope, @Cast(value="tensorflow::int64") long record_bytes)
public Node node()
@ByVal public static FixedLengthRecordReader.Attrs HeaderBytes(@Cast(value="tensorflow::int64") long x)
@ByVal public static FixedLengthRecordReader.Attrs FooterBytes(@Cast(value="tensorflow::int64") long x)
@ByVal public static FixedLengthRecordReader.Attrs HopBytes(@Cast(value="tensorflow::int64") long x)
@ByVal public static FixedLengthRecordReader.Attrs Container(@tensorflow.StringPiece BytePointer x)
@ByVal public static FixedLengthRecordReader.Attrs Container(@tensorflow.StringPiece String x)
@ByVal public static FixedLengthRecordReader.Attrs SharedName(@tensorflow.StringPiece BytePointer x)
@ByVal public static FixedLengthRecordReader.Attrs SharedName(@tensorflow.StringPiece String x)
@ByVal public static FixedLengthRecordReader.Attrs Encoding(@tensorflow.StringPiece BytePointer x)
@ByVal public static FixedLengthRecordReader.Attrs Encoding(@tensorflow.StringPiece String x)
public FixedLengthRecordReader operation(Operation setter)
public FixedLengthRecordReader reader_handle(Output setter)
Copyright © 2022. All rights reserved.