Class TF_Session
java.lang.Object
org.bytedeco.javacpp.Pointer
org.tensorflow.internal.c_api.AbstractTF_Session
org.tensorflow.internal.c_api.TF_Session
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
AbstractTF_Session.DeleteDeallocator
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractTF_Session
AbstractTF_Session.DeleteDeallocatorNested classes/interfaces inherited from class Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter -
Field Summary
Fields inherited from class AbstractTF_Session
graph, meta_graph_def, opts, run_options, statusModifier and TypeFieldDescriptionprotected TF_GraphReferences to prevent deallocation.protected TF_Bufferprotected TF_SessionOptionsprotected TF_Bufferprotected TF_Status -
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor.Pointer cast constructor. -
Method Summary
Methods inherited from class AbstractTF_Session
delete, loadSessionFromSavedModel, newSessionModifier and TypeMethodDescriptionvoiddelete()Calls the deallocator, if registered, otherwise has no effect.static TF_SessionloadSessionFromSavedModel(TF_SessionOptions session_options, TF_Buffer run_options, String export_dir, String[] tags, TF_Graph graph, TF_Buffer meta_graph_def, TF_Status status) Calls TF_LoadSessionFromSavedModel(), and registers a deallocator.static TF_SessionnewSession(TF_Graph graph, TF_SessionOptions opts, TF_Status status) Calls TF_NewSession(), and registers a deallocator.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
-
TF_Session
public TF_Session()Empty constructor. Callssuper((Pointer)null). -
TF_Session
Pointer cast constructor. InvokesPointer(Pointer).
-