@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class FunctionCallFrame extends CallFrameInterface
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
FunctionCallFrame(DataTypeVector arg_types,
DataTypeVector ret_types) |
FunctionCallFrame(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Status |
ConsumeRetvals(TensorVector rets,
boolean allow_dead_tensors) |
Status |
GetArg(int index,
Tensor val) |
Status |
GetRetvals(TensorVector rets) |
long |
num_args() |
long |
num_retvals() |
Status |
SetArgs(TensorVector args) |
Status |
SetRetval(int index,
Tensor val) |
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 FunctionCallFrame(Pointer p)
Pointer(Pointer)
.public FunctionCallFrame(@ByVal @Cast(value="tensorflow::DataTypeSlice*") DataTypeVector arg_types, @ByVal @Cast(value="tensorflow::DataTypeSlice*") DataTypeVector ret_types)
@ByVal public Status SetArgs(@ByVal TensorVector args)
@ByVal public Status GetRetvals(TensorVector rets)
@ByVal public Status ConsumeRetvals(TensorVector rets, @Cast(value="bool") boolean allow_dead_tensors)
@Cast(value="size_t") public long num_args()
num_args
in class CallFrameInterface
@Cast(value="size_t") public long num_retvals()
num_retvals
in class CallFrameInterface
@ByVal public Status GetArg(int index, Tensor val)
GetArg
in class CallFrameInterface
Copyright © 2022. All rights reserved.