@Namespace(value="tensorflow") @Properties(inherit=tensorflow.class) public class WorkerCacheInterface extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
WorkerCacheInterface(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
ClearLogs() |
void |
GetDeviceLocalityAsync(BytePointer device,
DeviceLocality locality,
Pointer done) |
void |
GetDeviceLocalityAsync(String device,
DeviceLocality locality,
Pointer done) |
boolean |
GetDeviceLocalityNonBlocking(BytePointer device,
DeviceLocality locality) |
boolean |
GetDeviceLocalityNonBlocking(String device,
DeviceLocality locality) |
Status |
GetEagerClientCache(EagerClientCache eager_client_cache) |
WorkerInterface |
GetOrCreateWorker(BytePointer target) |
WorkerInterface |
GetOrCreateWorker(String target) |
void |
ListWorkers(StringVector workers) |
void |
ListWorkersInJob(BytePointer job_name,
StringVector workers) |
void |
ListWorkersInJob(String job_name,
StringVector workers) |
void |
ReleaseWorker(BytePointer target,
WorkerInterface worker) |
void |
ReleaseWorker(String target,
WorkerInterface worker) |
boolean |
RetrieveLogs(long step_id,
StepStats ss) |
void |
SetLogging(boolean active) |
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 WorkerCacheInterface(Pointer p)
Pointer(Pointer)
.public void ListWorkers(StringVector workers)
public void ListWorkersInJob(@StdString BytePointer job_name, StringVector workers)
public void ListWorkersInJob(@StdString String job_name, StringVector workers)
public WorkerInterface GetOrCreateWorker(@StdString BytePointer target)
public WorkerInterface GetOrCreateWorker(@StdString String target)
public void ReleaseWorker(@StdString BytePointer target, WorkerInterface worker)
public void ReleaseWorker(@StdString String target, WorkerInterface worker)
@Cast(value="bool") public boolean GetDeviceLocalityNonBlocking(@StdString BytePointer device, DeviceLocality locality)
@Cast(value="bool") public boolean GetDeviceLocalityNonBlocking(@StdString String device, DeviceLocality locality)
public void GetDeviceLocalityAsync(@StdString BytePointer device, DeviceLocality locality, @ByVal @Cast(value="tensorflow::StatusCallback*") Pointer done)
public void GetDeviceLocalityAsync(@StdString String device, DeviceLocality locality, @ByVal @Cast(value="tensorflow::StatusCallback*") Pointer done)
@ByVal public Status GetEagerClientCache(@UniquePtr EagerClientCache eager_client_cache)
public void ClearLogs()
Copyright © 2022. All rights reserved.