@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class TensorReference extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TensorReference(Pointer p)
Pointer cast constructor.
|
TensorReference(Tensor tensor) |
TensorReference(TensorBuffer test_buffer) |
Modifier and Type | Method and Description |
---|---|
long |
BufferHash() |
void |
FillDescription(AllocationDescription description) |
boolean |
SharesBufferWith(Tensor t) |
boolean |
SharesBufferWith(TensorReference t) |
long |
TotalBytes() |
void |
Unref() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public TensorReference(Pointer p)
Pointer(Pointer)
.public TensorReference(TensorBuffer test_buffer)
public void Unref()
public void FillDescription(AllocationDescription description)
@Cast(value="bool") public boolean SharesBufferWith(@Const @ByRef TensorReference t)
Copyright © 2022. All rights reserved.