@Namespace(value="tensorflow") @NoOffset public static class tensorflow.DeviceMgr extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
DeviceMgr(Pointer p)
Pointer cast constructor.
|
DeviceMgr(tensorflow.DeviceVector devices) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClearContainers(tensorflow.StringVector containers) |
BytePointer |
DebugString() |
BytePointer |
DeviceMappingString() |
void |
ListDeviceAttributes(tensorflow.DeviceAttributes devices) |
tensorflow.DeviceVector |
ListDevices() |
tensorflow.Status |
LookupDevice(BytePointer name,
PointerPointer device) |
tensorflow.Status |
LookupDevice(BytePointer name,
tensorflow.Device device) |
tensorflow.Status |
LookupDevice(String name,
tensorflow.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, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic DeviceMgr(Pointer p)
Pointer.Pointer(Pointer).public DeviceMgr(@Const @ByRef tensorflow.DeviceVector devices)
public void ListDeviceAttributes(@StdVector tensorflow.DeviceAttributes devices)
@ByVal public tensorflow.DeviceVector ListDevices()
@StdString public BytePointer DebugString()
@StdString public BytePointer DeviceMappingString()
@ByVal public tensorflow.Status LookupDevice(@tensorflow.StringPiece BytePointer name, @Cast(value="tensorflow::Device**") PointerPointer device)
@ByVal public tensorflow.Status LookupDevice(@tensorflow.StringPiece BytePointer name, @ByPtrPtr tensorflow.Device device)
@ByVal public tensorflow.Status LookupDevice(@tensorflow.StringPiece String name, @ByPtrPtr tensorflow.Device device)
public void ClearContainers(@ByVal @Cast(value="tensorflow::gtl::ArraySlice<tensorflow::string>*") tensorflow.StringVector containers)
public int NumDeviceType(@StdString BytePointer type)
public int NumDeviceType(@StdString String type)
Copyright © 2019. All rights reserved.