Class TF_Buffer
java.lang.Object
org.bytedeco.javacpp.Pointer
org.tensorflow.internal.c_api.AbstractTF_Buffer
org.tensorflow.internal.c_api.TF_Buffer
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
AbstractTF_Buffer.DeleteDeallocator
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class AbstractTF_Buffer
AbstractTF_Buffer.DeleteDeallocatorNested classes/interfaces inherited from class Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondata()getPointer(long i) longlength()length(long setter) position(long position) Methods inherited from class AbstractTF_Buffer
copyData, dataAsByteBuffer, delete, newBuffer, newBufferFromString, newBufferFromStringMethods inherited from class Pointer
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
-
Constructor Details
-
TF_Buffer
public TF_Buffer()Default native constructor. -
TF_Buffer
public TF_Buffer(long size) Native array allocator. Access withPointer.position(long). -
TF_Buffer
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointerin classPointer
-
data
-
data
-
length
-
length
-
data_deallocator
-
data_deallocator
-