@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class InMemoryRunStepResponse extends MutableRunStepResponseWrapper
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
InMemoryRunStepResponse()
Default native constructor.
|
InMemoryRunStepResponse(long size)
Native array allocator.
|
InMemoryRunStepResponse(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Status |
AddTensorFromRunGraphResponse(BytePointer name,
MutableRunGraphResponseWrapper run_graph_response,
long i) |
Status |
AddTensorFromRunGraphResponse(String name,
MutableRunGraphResponseWrapper run_graph_response,
long i) |
InMemoryRunStepResponse |
getPointer(long i) |
RunMetadata |
metadata() |
RunMetadata |
mutable_metadata() |
long |
num_tensors() |
InMemoryRunStepResponse |
position(long position) |
void |
set_status(Status status) |
int |
status_code() |
BytePointer |
status_error_message() |
BytePointer |
tensor_name(long i) |
Status |
TensorValue(long i,
Tensor out_tensor) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public InMemoryRunStepResponse()
public InMemoryRunStepResponse(long size)
Pointer.position(long)
.public InMemoryRunStepResponse(Pointer p)
Pointer(Pointer)
.public InMemoryRunStepResponse position(long position)
public InMemoryRunStepResponse getPointer(long i)
getPointer
in class Pointer
@Cast(value="size_t") public long num_tensors()
num_tensors
in class MutableRunStepResponseWrapper
@StdString public BytePointer tensor_name(@Cast(value="size_t") long i)
tensor_name
in class MutableRunStepResponseWrapper
@ByVal public Status TensorValue(@Cast(value="size_t") long i, Tensor out_tensor)
TensorValue
in class MutableRunStepResponseWrapper
@ByVal public Status AddTensorFromRunGraphResponse(@StdString BytePointer name, MutableRunGraphResponseWrapper run_graph_response, @Cast(value="size_t") long i)
AddTensorFromRunGraphResponse
in class MutableRunStepResponseWrapper
@ByVal public Status AddTensorFromRunGraphResponse(@StdString String name, MutableRunGraphResponseWrapper run_graph_response, @Cast(value="size_t") long i)
AddTensorFromRunGraphResponse
in class MutableRunStepResponseWrapper
@Const @ByRef public RunMetadata metadata()
metadata
in class MutableRunStepResponseWrapper
public RunMetadata mutable_metadata()
mutable_metadata
in class MutableRunStepResponseWrapper
@Cast(value="tensorflow::errors::Code") public int status_code()
status_code
in class MutableRunStepResponseWrapper
@StdString public BytePointer status_error_message()
status_error_message
in class MutableRunStepResponseWrapper
public void set_status(@Const @ByRef Status status)
set_status
in class MutableRunStepResponseWrapper
Copyright © 2022. All rights reserved.