@Namespace(value="tensorflow") @Properties(inherit=tensorflow.class) public class AllocatorAttributes extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
AllocatorAttributes()
Default native constructor.
|
AllocatorAttributes(long size)
Native array allocator.
|
AllocatorAttributes(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
BytePointer |
DebugString() |
AllocatorAttributes |
getPointer(long i) |
boolean |
gpu_compatible() |
boolean |
IsEqualOrLessRestrictiveThan(AllocatorAttributes other) |
void |
Merge(AllocatorAttributes other) |
boolean |
nic_compatible() |
boolean |
on_host() |
AllocatorAttributes |
position(long position) |
int |
scope_id() |
AllocatorAttributes |
scope_id(int setter) |
void |
set_gpu_compatible(boolean v) |
void |
set_nic_compatible(boolean v) |
void |
set_on_host(boolean v) |
int |
value() |
AllocatorAttributes |
value(int setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public AllocatorAttributes()
public AllocatorAttributes(long size)
Pointer.position(long)
.public AllocatorAttributes(Pointer p)
Pointer(Pointer)
.public AllocatorAttributes position(long position)
public AllocatorAttributes getPointer(long i)
getPointer
in class Pointer
public void Merge(@ByVal AllocatorAttributes other)
@Cast(value="bool") public boolean IsEqualOrLessRestrictiveThan(@Const @ByRef AllocatorAttributes other)
public AllocatorAttributes value(int setter)
public int scope_id()
public AllocatorAttributes scope_id(int setter)
@StdString public BytePointer DebugString()
Copyright © 2022. All rights reserved.