Class AbstractTF_Graph
java.lang.Object
org.bytedeco.javacpp.Pointer
org.tensorflow.internal.c_api.AbstractTF_Graph
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
TF_Graph
-
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_Graph
-
-
Method Details
-
newGraph
Calls TF_NewGraph(), and registers a deallocator.Note
org.tensorflow.Graphwill call TF_DeleteGraph on close, so do not use this method when constructing a reference for use inside aGraphobject.- Returns:
- TF_Graph created. Do not call TF_DeleteGraph() on it.
-
delete
public void delete()Calls the deallocator, if registered, otherwise has no effect.
-