@Namespace(value="tensorflow") @Properties(inherit=tensorflow.class) public class DeviceResolverInterface extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DeviceResolverInterface(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
ClearCache() |
void |
ClearTask(BytePointer task) |
void |
ClearTask(String task) |
void |
GetAllDeviceAttributesAsync(StringVector devices,
StringVector tasks,
DeviceAttributes attributes,
Pointer done) |
void |
GetDeviceAttributesAsync(BytePointer device,
BytePointer task,
DeviceAttributes attributes,
Pointer done) |
void |
GetDeviceAttributesAsync(String device,
String task,
DeviceAttributes attributes,
Pointer done) |
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 DeviceResolverInterface(Pointer p)
Pointer(Pointer)
.public void GetAllDeviceAttributesAsync(@Const @ByRef StringVector devices, @Const @ByRef StringVector tasks, @StdVector DeviceAttributes attributes, @Cast(value="const tensorflow::StatusCallback*") @ByRef Pointer done)
public void GetDeviceAttributesAsync(@StdString BytePointer device, @StdString BytePointer task, DeviceAttributes attributes, @Cast(value="const tensorflow::StatusCallback*") @ByRef Pointer done)
public void GetDeviceAttributesAsync(@StdString String device, @StdString String task, DeviceAttributes attributes, @Cast(value="const tensorflow::StatusCallback*") @ByRef Pointer done)
public void ClearTask(@StdString BytePointer task)
public void ClearTask(@StdString String task)
public void ClearCache()
Copyright © 2022. All rights reserved.