@Namespace(value="tensorflow") public static class tensorflow.TensorBuffer extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
TensorBuffer()
Default native constructor.
|
TensorBuffer(long size)
Native array allocator.
|
TensorBuffer(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Pointer |
data() |
void |
FillAllocationDescription(tensorflow.AllocationDescription proto) |
boolean |
OwnsMemory() |
tensorflow.TensorBuffer |
position(long position) |
tensorflow.TensorBuffer |
root_buffer() |
long |
size() |
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 TensorBuffer()
public TensorBuffer(long size)
Pointer.position(long).public TensorBuffer(Pointer p)
Pointer.Pointer(Pointer).public tensorflow.TensorBuffer position(long position)
@Virtual(value=true) public tensorflow.TensorBuffer root_buffer()
@Virtual(value=true) @Const(value={false,false,true}) public void FillAllocationDescription(tensorflow.AllocationDescription proto)
Copyright © 2019. All rights reserved.