@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.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 |
tensorflow.FixedLengthRecordReader.Attrs
Optional attribute setters for FixedLengthRecordReader
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
FixedLengthRecordReader(Pointer p)
Pointer cast constructor.
|
FixedLengthRecordReader(tensorflow.Scope scope,
long record_bytes) |
FixedLengthRecordReader(tensorflow.Scope scope,
long record_bytes,
tensorflow.FixedLengthRecordReader.Attrs attrs) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic FixedLengthRecordReader(Pointer p)
Pointer.Pointer(Pointer).public FixedLengthRecordReader(@Const @ByRef tensorflow.Scope scope, @Cast(value="tensorflow::int64") long record_bytes)
public FixedLengthRecordReader(@Const @ByRef tensorflow.Scope scope, @Cast(value="tensorflow::int64") long record_bytes, @Const @ByRef tensorflow.FixedLengthRecordReader.Attrs attrs)
@ByVal @Name(value="operator tensorflow::Output") public tensorflow.Output asOutput()
@ByVal @Name(value="operator tensorflow::Input") public tensorflow.Input asInput()
public tensorflow.Node node()
@ByVal public static tensorflow.FixedLengthRecordReader.Attrs HeaderBytes(@Cast(value="tensorflow::int64") long x)
@ByVal public static tensorflow.FixedLengthRecordReader.Attrs FooterBytes(@Cast(value="tensorflow::int64") long x)
@ByVal public static tensorflow.FixedLengthRecordReader.Attrs HopBytes(@Cast(value="tensorflow::int64") long x)
@ByVal public static tensorflow.FixedLengthRecordReader.Attrs Container(@tensorflow.StringPiece BytePointer x)
@ByVal public static tensorflow.FixedLengthRecordReader.Attrs Container(@tensorflow.StringPiece String x)
@ByVal public static tensorflow.FixedLengthRecordReader.Attrs SharedName(@tensorflow.StringPiece BytePointer x)
@ByVal public static tensorflow.FixedLengthRecordReader.Attrs SharedName(@tensorflow.StringPiece String x)
@ByVal public static tensorflow.FixedLengthRecordReader.Attrs Encoding(@tensorflow.StringPiece BytePointer x)
@ByVal public static tensorflow.FixedLengthRecordReader.Attrs Encoding(@tensorflow.StringPiece String x)
@ByRef public tensorflow.Operation operation()
public tensorflow.FixedLengthRecordReader operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output reader_handle()
public tensorflow.FixedLengthRecordReader reader_handle(tensorflow.Output reader_handle)
Copyright © 2019. All rights reserved.