@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class KernelAndDevice extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
KernelAndDevice(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Device |
device() |
Status |
Init(NodeDef ndef,
GraphCollector graph_collector) |
int |
input_type(int i) |
Device |
InputDevice(int i) |
OpKernel |
kernel() |
BytePointer |
name() |
int |
num_inputs() |
int |
num_outputs() |
DataTypeVector |
output_dtypes() |
Device |
OutputDevice(int idx) |
Device |
OutputResourceDevice(int idx) |
Status |
Run(ScopedStepContainer step_container,
TensorValueVector inputs,
TensorVector outputs,
NodeExecStats stats,
StepStats step_stats,
GraphCollector graph_collector,
CancellationManager cancellation_manager) |
Status |
Run(TensorValueVector inputs,
TensorVector outputs,
NodeExecStats stats,
StepStats step_stats,
GraphCollector graph_collector,
CancellationManager cancellation_manager) |
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 KernelAndDevice(Pointer p)
Pointer(Pointer)
.@ByVal public Status Run(@Const @ByRef TensorValueVector inputs, TensorVector outputs, NodeExecStats stats, StepStats step_stats, GraphCollector graph_collector, CancellationManager cancellation_manager)
@ByVal public Status Run(ScopedStepContainer step_container, @Const @ByRef TensorValueVector inputs, TensorVector outputs, NodeExecStats stats, StepStats step_stats, GraphCollector graph_collector, CancellationManager cancellation_manager)
public Device InputDevice(int i)
public Device OutputDevice(int idx)
public Device OutputResourceDevice(int idx)
public Device device()
@Const @ByRef public DataTypeVector output_dtypes()
public int num_inputs()
public int num_outputs()
@StdString public BytePointer name()
Copyright © 2022. All rights reserved.