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