@Namespace(value="tensorflow") public static class tensorflow.SessionState extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| 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 |
|---|---|
tensorflow.Status |
AddTensor(BytePointer handle,
tensorflow.Tensor tensor) |
tensorflow.Status |
AddTensor(String handle,
tensorflow.Tensor tensor) |
tensorflow.Status |
DeleteTensor(BytePointer handle) |
tensorflow.Status |
DeleteTensor(String handle) |
long |
GetNewId() |
tensorflow.Status |
GetTensor(BytePointer handle,
tensorflow.Tensor tensor) |
tensorflow.Status |
GetTensor(String handle,
tensorflow.Tensor tensor) |
static BytePointer |
kTensorHandleResourceTypeName() |
tensorflow.SessionState |
position(long position) |
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, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic SessionState()
public SessionState(long size)
Pointer.position(long).public SessionState(Pointer p)
Pointer.Pointer(Pointer).public tensorflow.SessionState position(long position)
@ByVal public tensorflow.Status GetTensor(@StdString BytePointer handle, tensorflow.Tensor tensor)
@ByVal public tensorflow.Status GetTensor(@StdString String handle, tensorflow.Tensor tensor)
@ByVal public tensorflow.Status AddTensor(@StdString BytePointer handle, @Const @ByRef tensorflow.Tensor tensor)
@ByVal public tensorflow.Status AddTensor(@StdString String handle, @Const @ByRef tensorflow.Tensor tensor)
@ByVal public tensorflow.Status DeleteTensor(@StdString BytePointer handle)
@ByVal public tensorflow.Status DeleteTensor(@StdString String handle)
@MemberGetter @Cast(value="const char*") public static BytePointer kTensorHandleResourceTypeName()
Copyright © 2019. All rights reserved.