@Namespace(value="tensorflow") @Properties(inherit=tensorflow.class) public class SessionState extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SessionState()
Default native constructor.
|
SessionState(long size)
Native array allocator.
|
SessionState(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Status |
AddTensor(BytePointer handle,
Tensor tensor) |
Status |
AddTensor(String handle,
Tensor tensor) |
Status |
DeleteTensor(BytePointer handle) |
Status |
DeleteTensor(String handle) |
long |
GetNewId() |
SessionState |
getPointer(long i) |
Status |
GetTensor(BytePointer handle,
Tensor tensor) |
Status |
GetTensor(String handle,
Tensor tensor) |
static BytePointer |
kTensorHandleResourceTypeName() |
static void |
kTensorHandleResourceTypeName(BytePointer setter) |
SessionState |
position(long position) |
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
public SessionState()
public SessionState(long size)
Pointer.position(long)
.public SessionState(Pointer p)
Pointer(Pointer)
.public SessionState position(long position)
public SessionState getPointer(long i)
getPointer
in class Pointer
@ByVal public Status GetTensor(@StdString BytePointer handle, Tensor tensor)
@ByVal public Status GetTensor(@StdString String handle, Tensor tensor)
@ByVal public Status AddTensor(@StdString BytePointer handle, @Const @ByRef Tensor tensor)
@ByVal public Status DeleteTensor(@StdString BytePointer handle)
@ByVal public Status DeleteTensor(@StdString String handle)
@Cast(value="const char*") public static BytePointer kTensorHandleResourceTypeName()
public static void kTensorHandleResourceTypeName(BytePointer setter)
Copyright © 2022. All rights reserved.