@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class RecordInput extends Pointer
Attrs
):
* file_random_seed: Random seeds used to produce randomized records.
* file_shuffle_shift_ratio: Shifts the list of files after the list is randomly
shuffled.
* file_buffer_size: The randomization shuffling buffer.
* file_parallelism: How many sstables are opened and concurrently iterated over.
* batch_size: The batch size.
* compression_type: The type of compression for the file. Currently ZLIB and
GZIP are supported. Defaults to none.
Returns:
* Output
: A tensor of shape [batch_size].Modifier and Type | Class and Description |
---|---|
static class |
RecordInput.Attrs
Optional attribute setters for RecordInput
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
RecordInput(Pointer p)
Pointer cast constructor.
|
RecordInput(Scope scope,
BytePointer file_pattern) |
RecordInput(Scope scope,
BytePointer file_pattern,
RecordInput.Attrs attrs) |
RecordInput(Scope scope,
String file_pattern) |
RecordInput(Scope scope,
String file_pattern,
RecordInput.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
static RecordInput.Attrs |
BatchSize(long x) |
static RecordInput.Attrs |
CompressionType(BytePointer x) |
static RecordInput.Attrs |
CompressionType(String x) |
static RecordInput.Attrs |
FileBufferSize(long x) |
static RecordInput.Attrs |
FileParallelism(long x) |
static RecordInput.Attrs |
FileRandomSeed(long x) |
static RecordInput.Attrs |
FileShuffleShiftRatio(float x) |
Node |
node() |
Operation |
operation() |
RecordInput |
operation(Operation setter) |
Output |
records() |
RecordInput |
records(Output setter) |
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 RecordInput(Pointer p)
Pointer(Pointer)
.public RecordInput(@Const @ByRef Scope scope, @tensorflow.StringPiece BytePointer file_pattern)
public RecordInput(@Const @ByRef Scope scope, @tensorflow.StringPiece String file_pattern)
public RecordInput(@Const @ByRef Scope scope, @tensorflow.StringPiece BytePointer file_pattern, @Const @ByRef RecordInput.Attrs attrs)
public RecordInput(@Const @ByRef Scope scope, @tensorflow.StringPiece String file_pattern, @Const @ByRef RecordInput.Attrs attrs)
public Node node()
@ByVal public static RecordInput.Attrs FileRandomSeed(@Cast(value="tensorflow::int64") long x)
@ByVal public static RecordInput.Attrs FileShuffleShiftRatio(float x)
@ByVal public static RecordInput.Attrs FileBufferSize(@Cast(value="tensorflow::int64") long x)
@ByVal public static RecordInput.Attrs FileParallelism(@Cast(value="tensorflow::int64") long x)
@ByVal public static RecordInput.Attrs BatchSize(@Cast(value="tensorflow::int64") long x)
@ByVal public static RecordInput.Attrs CompressionType(@tensorflow.StringPiece BytePointer x)
@ByVal public static RecordInput.Attrs CompressionType(@tensorflow.StringPiece String x)
public RecordInput operation(Operation setter)
public RecordInput records(Output setter)
Copyright © 2022. All rights reserved.