public static class RestoreSlice.Attrs extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Attrs()
Default native constructor.
|
Attrs(long size)
Native array allocator.
|
Attrs(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
RestoreSlice.Attrs |
getPointer(long i) |
RestoreSlice.Attrs |
position(long position) |
long |
preferred_shard_() |
RestoreSlice.Attrs |
preferred_shard_(long setter) |
RestoreSlice.Attrs |
PreferredShard(long x)
Index of file to open first if multiple files match
file_pattern . |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Attrs()
public Attrs(long size)
Pointer.position(long)
.public Attrs(Pointer p)
Pointer(Pointer)
.public RestoreSlice.Attrs position(long position)
public RestoreSlice.Attrs getPointer(long i)
getPointer
in class Pointer
@ByVal public RestoreSlice.Attrs PreferredShard(@Cast(value="tensorflow::int64") long x)
file_pattern
. See the documentation for Restore
.
Defaults to -1public RestoreSlice.Attrs preferred_shard_(long setter)
Copyright © 2022. All rights reserved.