@Namespace(value="tensorflow") public static class tensorflow.AllocatorAttributes extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| 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 |
|---|---|
boolean |
gpu_compatible() |
boolean |
IsEqualOrLessRestrictiveThan(tensorflow.AllocatorAttributes other) |
void |
Merge(tensorflow.AllocatorAttributes other) |
boolean |
nic_compatible() |
boolean |
on_host() |
tensorflow.AllocatorAttributes |
position(long position) |
int |
scope_id() |
tensorflow.AllocatorAttributes |
scope_id(int scope_id) |
void |
set_gpu_compatible(boolean v) |
void |
set_nic_compatible(boolean v) |
void |
set_on_host(boolean v) |
int |
value() |
tensorflow.AllocatorAttributes |
value(int value) |
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, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic AllocatorAttributes()
public AllocatorAttributes(long size)
Pointer.position(long).public AllocatorAttributes(Pointer p)
Pointer.Pointer(Pointer).public tensorflow.AllocatorAttributes position(long position)
public void Merge(@ByVal tensorflow.AllocatorAttributes other)
@Cast(value="bool") public boolean IsEqualOrLessRestrictiveThan(@Const @ByRef tensorflow.AllocatorAttributes other)
public int value()
public tensorflow.AllocatorAttributes value(int value)
public int scope_id()
public tensorflow.AllocatorAttributes scope_id(int scope_id)
Copyright © 2019. All rights reserved.