@Namespace(value="tensorflow") @NoOffset public static class tensorflow.AllocatorWrapper extends tensorflow.Allocator
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocatorkAllocatorAlignment| Constructor and Description |
|---|
AllocatorWrapper(Pointer p)
Pointer cast constructor.
|
AllocatorWrapper(tensorflow.Allocator wrapped) |
| Modifier and Type | Method and Description |
|---|---|
long |
AllocatedSize(Pointer ptr) |
long |
AllocatedSizeSlow(Pointer ptr) |
Pointer |
AllocateRaw(long alignment,
long num_bytes) |
Pointer |
AllocateRaw(long alignment,
long num_bytes,
tensorflow.AllocationAttributes allocation_attr) |
long |
AllocationId(Pointer ptr) |
void |
DeallocateRaw(Pointer ptr) |
BytePointer |
Name() |
long |
RequestedSize(Pointer ptr) |
boolean |
ShouldAllocateEmptyTensors() |
boolean |
TracksAllocationSizes() |
tensorflow.Allocator |
wrapped() |
ClearStats, GetStats, kAllocatorAlignmentaddress, 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 AllocatorWrapper(Pointer p)
Pointer.Pointer(Pointer).public AllocatorWrapper(tensorflow.Allocator wrapped)
public tensorflow.Allocator wrapped()
@StdString public BytePointer Name()
Name in class tensorflow.Allocatorpublic Pointer AllocateRaw(@Cast(value="size_t") long alignment, @Cast(value="size_t") long num_bytes)
AllocateRaw in class tensorflow.Allocatorpublic Pointer AllocateRaw(@Cast(value="size_t") long alignment, @Cast(value="size_t") long num_bytes, @Const @ByRef tensorflow.AllocationAttributes allocation_attr)
AllocateRaw in class tensorflow.Allocatorpublic void DeallocateRaw(Pointer ptr)
DeallocateRaw in class tensorflow.Allocator@Cast(value="bool") public boolean TracksAllocationSizes()
TracksAllocationSizes in class tensorflow.Allocator@Cast(value="bool") public boolean ShouldAllocateEmptyTensors()
ShouldAllocateEmptyTensors in class tensorflow.Allocator@Cast(value="size_t") public long RequestedSize(@Const Pointer ptr)
RequestedSize in class tensorflow.Allocator@Cast(value="size_t") public long AllocatedSize(@Const Pointer ptr)
AllocatedSize in class tensorflow.Allocator@Cast(value="tensorflow::int64") public long AllocationId(@Const Pointer ptr)
AllocationId in class tensorflow.Allocator@Cast(value="size_t") public long AllocatedSizeSlow(@Const Pointer ptr)
AllocatedSizeSlow in class tensorflow.AllocatorCopyright © 2019. All rights reserved.