public abstract static class tensorflow.AbstractTF_Session extends Pointer
| Modifier and Type | Class and Description |
|---|---|
protected static class |
tensorflow.AbstractTF_Session.DeleteDeallocator |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
protected tensorflow.TF_Graph |
graph
References to prevent deallocation.
|
protected tensorflow.TF_SessionOptions |
opts |
protected tensorflow.TF_Status |
status |
| Constructor and Description |
|---|
AbstractTF_Session(Pointer p) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Calls the deallocator, if registered, otherwise has no effect.
|
static tensorflow.TF_Session |
newSession(tensorflow.TF_Graph graph,
tensorflow.TF_SessionOptions opts,
tensorflow.TF_Status status)
Calls TF_NewSession(), and registers a deallocator.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeroprotected tensorflow.TF_Graph graph
protected tensorflow.TF_SessionOptions opts
protected tensorflow.TF_Status status
public AbstractTF_Session(Pointer p)
public static tensorflow.TF_Session newSession(tensorflow.TF_Graph graph, tensorflow.TF_SessionOptions opts, tensorflow.TF_Status status)
public void delete()
Copyright © 2019. All rights reserved.