@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class OpKernelConstruction extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
OpKernelConstruction(DeviceType device_type,
DeviceBase device,
Allocator allocator,
NodeDef node_def,
OpDef op_def,
FunctionLibraryRuntime flib,
DataTypeVector input_types,
StringAttrPairVector input_memory_types,
DataTypeVector output_types,
StringAttrPairVector output_memory_types,
int graph_def_version,
Status status) |
OpKernelConstruction(Pointer p)
Pointer cast constructor.
|
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 OpKernelConstruction(Pointer p)
Pointer(Pointer)
.public OpKernelConstruction(@ByVal DeviceType device_type, DeviceBase device, Allocator allocator, @Const NodeDef node_def, @Const OpDef op_def, FunctionLibraryRuntime flib, @Cast(value="const tensorflow::DataTypeSlice*") @ByRef DataTypeVector input_types, @Cast(value="const tensorflow::MemoryTypeSlice*") @ByRef StringAttrPairVector input_memory_types, @Cast(value="const tensorflow::DataTypeSlice*") @ByRef DataTypeVector output_types, @Cast(value="const tensorflow::MemoryTypeSlice*") @ByRef StringAttrPairVector output_memory_types, int graph_def_version, Status status)
public Env env()
@ByVal public Status allocate_temp(@Cast(value="tensorflow::DataType") int type, @Const @ByRef TensorShape shape, Tensor out_temp)
@ByVal public Status allocate_persistent(@Cast(value="tensorflow::DataType") int type, @Const @ByRef TensorShape shape, PersistentTensor out_persistent, @Cast(value="tensorflow::Tensor**") PointerPointer out_tensor)
@ByVal public Status allocate_persistent(@Cast(value="tensorflow::DataType") int type, @Const @ByRef TensorShape shape, PersistentTensor out_persistent, @ByPtrPtr Tensor out_tensor)
public int num_inputs()
@Cast(value="const tensorflow::DataTypeSlice*") @ByRef public DataTypeVector input_types()
@Cast(value="const tensorflow::MemoryTypeSlice*") @ByRef public StringAttrPairVector input_memory_types()
public int num_outputs()
@Cast(value="const tensorflow::DataTypeSlice*") @ByRef public DataTypeVector output_types()
@Cast(value="const tensorflow::MemoryTypeSlice*") @ByRef public StringAttrPairVector output_memory_types()
@ByVal public Status MatchSignature(@ByVal @Cast(value="const tensorflow::DataTypeSlice*") DataTypeVector expected_inputs, @ByVal @Cast(value="const tensorflow::DataTypeSlice*") DataTypeVector expected_outputs)
@Cast(value="bool") public boolean HasAttr(@tensorflow.StringPiece BytePointer attr_name)
@Cast(value="bool") public boolean HasAttr(@tensorflow.StringPiece String attr_name)
@Const @ByRef public DeviceType device_type()
public FunctionLibraryRuntime function_library()
public int graph_def_version()
public void CtxFailure(@Cast(value="const char*") BytePointer file, int line, @Const @ByRef Status s)
public void CtxFailureWithWarning(@Cast(value="const char*") BytePointer file, int line, @Const @ByRef Status s)
public void CtxFailureWithWarning(String file, int line, @Const @ByRef Status s)
public DeviceBase device()
Copyright © 2022. All rights reserved.