@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class WorkerSession extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
WorkerSession(BytePointer session_name,
BytePointer worker_name,
WorkerCacheInterface worker_cache,
DeviceMgr device_mgr,
GraphMgr graph_mgr,
DeviceMgr remote_device_mgr) |
WorkerSession(Pointer p)
Pointer cast constructor.
|
WorkerSession(String session_name,
String worker_name,
WorkerCacheInterface worker_cache,
DeviceMgr device_mgr,
GraphMgr graph_mgr,
DeviceMgr remote_device_mgr) |
Modifier and Type | Method and Description |
---|---|
ClusterFunctionLibraryRuntime |
cluster_flr() |
WorkerSession |
cluster_flr(ClusterFunctionLibraryRuntime setter) |
static WorkerSession |
CreateWithBorrowedDeviceMgr(BytePointer session_name,
BytePointer worker_name,
WorkerCacheInterface worker_cache,
DeviceMgr borrowed_device_mgr,
GraphMgr graph_mgr,
DeviceMgr remote_device_mgr) |
static WorkerSession |
CreateWithBorrowedDeviceMgr(String session_name,
String worker_name,
WorkerCacheInterface worker_cache,
DeviceMgr borrowed_device_mgr,
GraphMgr graph_mgr,
DeviceMgr remote_device_mgr) |
DeviceMgr |
device_mgr() |
GraphMgr |
graph_mgr() |
DeviceMgr |
remote_device_mgr() |
BytePointer |
session_name() |
WorkerCacheInterface |
worker_cache() |
BytePointer |
worker_name() |
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
public WorkerSession(Pointer p)
Pointer(Pointer)
.public WorkerSession(@StdString BytePointer session_name, @StdString BytePointer worker_name, @tensorflow.MoveUniquePtr WorkerCacheInterface worker_cache, @tensorflow.MoveUniquePtr DeviceMgr device_mgr, @tensorflow.MoveUniquePtr GraphMgr graph_mgr, @tensorflow.MoveUniquePtr DeviceMgr remote_device_mgr)
public WorkerSession(@StdString String session_name, @StdString String worker_name, @tensorflow.MoveUniquePtr WorkerCacheInterface worker_cache, @tensorflow.MoveUniquePtr DeviceMgr device_mgr, @tensorflow.MoveUniquePtr GraphMgr graph_mgr, @tensorflow.MoveUniquePtr DeviceMgr remote_device_mgr)
@MemberGetter @StdString public BytePointer session_name()
@MemberGetter @StdString public BytePointer worker_name()
@MemberGetter @tensorflow.MoveUniquePtr public WorkerCacheInterface worker_cache()
public DeviceMgr device_mgr()
public DeviceMgr remote_device_mgr()
@MemberGetter @tensorflow.MoveUniquePtr public GraphMgr graph_mgr()
@tensorflow.MoveUniquePtr public ClusterFunctionLibraryRuntime cluster_flr()
public WorkerSession cluster_flr(ClusterFunctionLibraryRuntime setter)
@SharedPtr public static WorkerSession CreateWithBorrowedDeviceMgr(@StdString BytePointer session_name, @StdString BytePointer worker_name, @tensorflow.MoveUniquePtr WorkerCacheInterface worker_cache, DeviceMgr borrowed_device_mgr, @tensorflow.MoveUniquePtr GraphMgr graph_mgr, @tensorflow.MoveUniquePtr DeviceMgr remote_device_mgr)
@SharedPtr public static WorkerSession CreateWithBorrowedDeviceMgr(@StdString String session_name, @StdString String worker_name, @tensorflow.MoveUniquePtr WorkerCacheInterface worker_cache, DeviceMgr borrowed_device_mgr, @tensorflow.MoveUniquePtr GraphMgr graph_mgr, @tensorflow.MoveUniquePtr DeviceMgr remote_device_mgr)
Copyright © 2022. All rights reserved.