@Namespace(value="tensorflow") @NoOffset public static class tensorflow.DeviceType extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
DeviceType(BytePointer type) |
DeviceType(Pointer p)
Pointer cast constructor.
|
DeviceType(String type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(tensorflow.DeviceType other) |
boolean |
lessThan(tensorflow.DeviceType other) |
boolean |
notEquals(tensorflow.DeviceType other) |
BytePointer |
type_string() |
BytePointer |
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 DeviceType(Pointer p)
Pointer.Pointer(Pointer).public DeviceType(@Cast(value="const char*") BytePointer type)
public DeviceType(String type)
@Cast(value="const char*") public BytePointer type()
@StdString public BytePointer type_string()
@Cast(value="bool") @Name(value="operator <") public boolean lessThan(@Const @ByRef tensorflow.DeviceType other)
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef tensorflow.DeviceType other)
Copyright © 2019. All rights reserved.