public static class tensorflow.TF_Buffer extends tensorflow.AbstractTF_Buffer
| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.TF_Buffer.Data_deallocator_Pointer_long |
tensorflow.AbstractTF_Buffer.DeleteDeallocatorPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
TF_Buffer()
Default native constructor.
|
TF_Buffer(long size)
Native array allocator.
|
TF_Buffer(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
tensorflow.TF_Buffer.Data_deallocator_Pointer_long |
data_deallocator() |
tensorflow.TF_Buffer |
data_deallocator(tensorflow.TF_Buffer.Data_deallocator_Pointer_long data_deallocator) |
Pointer |
data() |
tensorflow.TF_Buffer |
data(Pointer data) |
long |
length() |
tensorflow.TF_Buffer |
length(long length) |
tensorflow.TF_Buffer |
position(long position) |
delete, newBuffer, newBufferFromString, newBufferFromStringaddress, 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 TF_Buffer()
public TF_Buffer(long size)
Pointer.position(long).public TF_Buffer(Pointer p)
Pointer.Pointer(Pointer).public tensorflow.TF_Buffer position(long position)
public tensorflow.TF_Buffer data(Pointer data)
public tensorflow.TF_Buffer length(long length)
public tensorflow.TF_Buffer.Data_deallocator_Pointer_long data_deallocator()
public tensorflow.TF_Buffer data_deallocator(tensorflow.TF_Buffer.Data_deallocator_Pointer_long data_deallocator)
Copyright © 2019. All rights reserved.