@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class DeviceMgr extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DeviceMgr(Device device) |
DeviceMgr(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
ClearContainers(StringVector containers) |
BytePointer |
DebugString() |
BytePointer |
DeviceMappingString() |
void |
ListDeviceAttributes(DeviceAttributes devices) |
DeviceVector |
ListDevices() |
Status |
LookupDevice(BytePointer name,
Device device) |
Status |
LookupDevice(BytePointer name,
PointerPointer device) |
Status |
LookupDevice(String name,
Device device) |
int |
NumDeviceType(BytePointer type) |
int |
NumDeviceType(String type) |
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 DeviceMgr(Pointer p)
Pointer(Pointer)
.public DeviceMgr(@tensorflow.MoveUniquePtr Device device)
public void ListDeviceAttributes(@StdVector DeviceAttributes devices)
@ByVal public DeviceVector ListDevices()
@StdString public BytePointer DebugString()
@StdString public BytePointer DeviceMappingString()
@ByVal public Status LookupDevice(@tensorflow.StringPiece BytePointer name, @Cast(value="tensorflow::Device**") PointerPointer device)
@ByVal public Status LookupDevice(@tensorflow.StringPiece BytePointer name, @ByPtrPtr Device device)
@ByVal public Status LookupDevice(@tensorflow.StringPiece String name, @ByPtrPtr Device device)
public void ClearContainers(@ByVal @Cast(value="tensorflow::gtl::ArraySlice<tensorflow::string>*") StringVector containers)
public int NumDeviceType(@StdString BytePointer type)
public int NumDeviceType(@StdString String type)
Copyright © 2022. All rights reserved.