Class AbstractTF_Status
java.lang.Object
org.bytedeco.javacpp.Pointer
org.tensorflow.internal.c_api.AbstractTF_Status
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
TF_Status
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods 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, 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
-
Constructor Details
-
AbstractTF_Status
-
-
Method Details
-
newStatus
Calls TF_NewStatus(), and registers a deallocator.- Returns:
- TF_Status created. Do not call TF_DeleteStatus() on it.
-
delete
public void delete()Calls the deallocator, if registered, otherwise has no effect. -
throwExceptionIfNotOK
public void throwExceptionIfNotOK()Map TF_Code to unchecked exception, and throw if not TF_OK.
-