@Namespace(value="tensorflow") @NoOffset public static class tensorflow.OpKernelConstruction extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
OpKernelConstruction(Pointer p)
Pointer cast constructor.
|
OpKernelConstruction(tensorflow.DeviceType device_type,
tensorflow.DeviceBase device,
tensorflow.Allocator allocator,
tensorflow.NodeDef node_def,
tensorflow.OpDef op_def,
tensorflow.FunctionLibraryRuntime flib,
tensorflow.DataTypeVector input_types,
tensorflow.StringAttrPairVector input_memory_types,
tensorflow.DataTypeVector output_types,
tensorflow.StringAttrPairVector output_memory_types,
int graph_def_version,
tensorflow.Status status) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic OpKernelConstruction(Pointer p)
Pointer.Pointer(Pointer).public OpKernelConstruction(@ByVal tensorflow.DeviceType device_type, tensorflow.DeviceBase device, tensorflow.Allocator allocator, @Const tensorflow.NodeDef node_def, @Const tensorflow.OpDef op_def, tensorflow.FunctionLibraryRuntime flib, @Cast(value="const tensorflow::DataTypeSlice*") @ByRef tensorflow.DataTypeVector input_types, @Cast(value="const tensorflow::MemoryTypeSlice*") @ByRef tensorflow.StringAttrPairVector input_memory_types, @Cast(value="const tensorflow::DataTypeSlice*") @ByRef tensorflow.DataTypeVector output_types, @Cast(value="const tensorflow::MemoryTypeSlice*") @ByRef tensorflow.StringAttrPairVector output_memory_types, int graph_def_version, tensorflow.Status status)
public tensorflow.Env env()
@ByVal public tensorflow.Status allocate_temp(@Cast(value="tensorflow::DataType") int type, @Const @ByRef tensorflow.TensorShape shape, tensorflow.Tensor out_temp)
@ByVal public tensorflow.Status allocate_persistent(@Cast(value="tensorflow::DataType") int type, @Const @ByRef tensorflow.TensorShape shape, tensorflow.PersistentTensor out_persistent, @Cast(value="tensorflow::Tensor**") PointerPointer out_tensor)
@ByVal public tensorflow.Status allocate_persistent(@Cast(value="tensorflow::DataType") int type, @Const @ByRef tensorflow.TensorShape shape, tensorflow.PersistentTensor out_persistent, @ByPtrPtr tensorflow.Tensor out_tensor)
@Const @ByRef public tensorflow.NodeDef def()
public int num_inputs()
@Cast(value="const tensorflow::DataTypeSlice*") @ByRef public tensorflow.DataTypeVector input_types()
@Cast(value="const tensorflow::MemoryTypeSlice*") @ByRef public tensorflow.StringAttrPairVector input_memory_types()
public int num_outputs()
@Cast(value="const tensorflow::DataTypeSlice*") @ByRef public tensorflow.DataTypeVector output_types()
@Cast(value="const tensorflow::MemoryTypeSlice*") @ByRef public tensorflow.StringAttrPairVector output_memory_types()
@ByVal public tensorflow.Status MatchSignature(@ByVal @Cast(value="const tensorflow::DataTypeSlice*") tensorflow.DataTypeVector expected_inputs, @ByVal @Cast(value="const tensorflow::DataTypeSlice*") tensorflow.DataTypeVector expected_outputs)
public void SetStatus(@Const @ByRef tensorflow.Status status)
@Const @ByRef public tensorflow.Status status()
@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 tensorflow.DeviceType device_type()
public tensorflow.FunctionLibraryRuntime function_library()
public int graph_def_version()
public void CtxFailure(@Const @ByRef tensorflow.Status s)
public void CtxFailureWithWarning(@Const @ByRef tensorflow.Status s)
public void CtxFailure(@Cast(value="const char*") BytePointer file, int line, @Const @ByRef tensorflow.Status s)
public void CtxFailure(String file, int line, @Const @ByRef tensorflow.Status s)
public void CtxFailureWithWarning(@Cast(value="const char*") BytePointer file, int line, @Const @ByRef tensorflow.Status s)
public void CtxFailureWithWarning(String file, int line, @Const @ByRef tensorflow.Status s)
public tensorflow.DeviceBase device()
Copyright © 2019. All rights reserved.