@Namespace(value="tensorflow") @NoOffset public static class tensorflow.TrackingAllocator extends tensorflow.Allocator
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocatorkAllocatorAlignment| Constructor and Description |
|---|
TrackingAllocator(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
AllocatedSize(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 |
ClearStats() |
void |
DeallocateRaw(Pointer ptr) |
tensorflow.AllocRecordVector |
GetCurrentRecords() |
tensorflow.AllocRecordVector |
GetRecordsAndUnRef() |
SizeTPointer |
GetSizes() |
void |
GetStats(tensorflow.AllocatorStats stats) |
BytePointer |
Name() |
long |
RequestedSize(Pointer ptr) |
boolean |
TracksAllocationSizes() |
AllocatedSizeSlow, kAllocatorAlignment, ShouldAllocateEmptyTensorsaddress, 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 TrackingAllocator(Pointer p)
Pointer.Pointer(Pointer).@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="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.Allocatorpublic void GetStats(tensorflow.AllocatorStats stats)
GetStats in class tensorflow.Allocatorpublic void ClearStats()
ClearStats in class tensorflow.Allocator@ByVal @Cast(value="std::tuple<size_t,size_t,size_t>*") public SizeTPointer GetSizes()
@ByVal public tensorflow.AllocRecordVector GetRecordsAndUnRef()
@ByVal public tensorflow.AllocRecordVector GetCurrentRecords()
Copyright © 2019. All rights reserved.