@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class ProcessFunctionLibraryRuntime extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ProcessFunctionLibraryRuntime(DeviceMgr device_mgr,
Env env,
int graph_def_version,
FunctionLibraryDefinition lib_def,
OptimizerOptions optimizer_options) |
ProcessFunctionLibraryRuntime(DeviceMgr device_mgr,
Env env,
int graph_def_version,
FunctionLibraryDefinition lib_def,
OptimizerOptions optimizer_options,
ThreadPool thread_pool,
DistributedFunctionLibraryRuntime parent,
CustomKernelCreator custom_kernel_creator,
SessionMetadata metadata) |
ProcessFunctionLibraryRuntime(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 ProcessFunctionLibraryRuntime(Pointer p)
Pointer(Pointer)
.public ProcessFunctionLibraryRuntime(@Const DeviceMgr device_mgr, Env env, int graph_def_version, @Const FunctionLibraryDefinition lib_def, @Const @ByRef OptimizerOptions optimizer_options, ThreadPool thread_pool, DistributedFunctionLibraryRuntime parent, @Const CustomKernelCreator custom_kernel_creator, @Const SessionMetadata metadata)
public ProcessFunctionLibraryRuntime(@Const DeviceMgr device_mgr, Env env, int graph_def_version, @Const FunctionLibraryDefinition lib_def, @Const @ByRef OptimizerOptions optimizer_options)
@ByVal public static Status SendTensors(@StdString BytePointer source_device, @StdString BytePointer target_device, @StdString BytePointer key_prefix, @Cast(value="tensorflow::int64") long src_incarnation, @ByVal TensorVector tensors_to_send, DeviceContext device_context, @StdVector AllocatorAttributes alloc_attrs, Rendezvous rendezvous)
@ByVal public static Status SendTensors(@StdString String source_device, @StdString String target_device, @StdString String key_prefix, @Cast(value="tensorflow::int64") long src_incarnation, @ByVal TensorVector tensors_to_send, DeviceContext device_context, @StdVector AllocatorAttributes alloc_attrs, Rendezvous rendezvous)
public static void ReceiveTensorsAsync(@StdString BytePointer source_device, @StdString BytePointer target_device, @StdString BytePointer key_prefix, @Cast(value="tensorflow::int64") long src_incarnation, @Cast(value="tensorflow::int64") long num_tensors, DeviceContext device_context, @StdVector AllocatorAttributes alloc_attrs, Rendezvous rendezvous, TensorVector received_tensors, @ByVal @Cast(value="tensorflow::StatusCallback*") Pointer done)
public static void ReceiveTensorsAsync(@StdString String source_device, @StdString String target_device, @StdString String key_prefix, @Cast(value="tensorflow::int64") long src_incarnation, @Cast(value="tensorflow::int64") long num_tensors, DeviceContext device_context, @StdVector AllocatorAttributes alloc_attrs, Rendezvous rendezvous, TensorVector received_tensors, @ByVal @Cast(value="tensorflow::StatusCallback*") Pointer done)
@MemberGetter @Cast(value="const char") public static byte kDefaultFLRDevice(int i)
@MemberGetter @Cast(value="const char*") public static BytePointer kDefaultFLRDevice()
public FunctionLibraryRuntime GetFLR(@StdString BytePointer device_name)
public FunctionLibraryRuntime GetFLR(@StdString String device_name)
@ByVal public Status GetRetTypes(@Cast(value="tensorflow::FunctionLibraryRuntime::Handle") long h, DataTypeVector ret_types)
@ByVal public Status GetDeviceIncarnation(@StdString BytePointer device_name, @Cast(value="tensorflow::int64*") LongPointer incarnation)
@ByVal public Status GetDeviceIncarnation(@StdString String device_name, @Cast(value="tensorflow::int64*") LongBuffer incarnation)
@ByVal public Status GetDeviceIncarnation(@StdString BytePointer device_name, @Cast(value="tensorflow::int64*") long... incarnation)
@ByVal public Status GetDeviceIncarnation(@StdString String device_name, @Cast(value="tensorflow::int64*") LongPointer incarnation)
@ByVal public Status GetDeviceIncarnation(@StdString BytePointer device_name, @Cast(value="tensorflow::int64*") LongBuffer incarnation)
@ByVal public Status GetDeviceIncarnation(@StdString String device_name, @Cast(value="tensorflow::int64*") long... incarnation)
@Cast(value="tensorflow::FunctionLibraryRuntime::Handle") public long AddHandle(@StdString BytePointer function_key, @StdString BytePointer device_name, @Cast(value="tensorflow::FunctionLibraryRuntime::LocalHandle") long local_handle)
@Cast(value="tensorflow::FunctionLibraryRuntime::Handle") public long AddHandle(@StdString String function_key, @StdString String device_name, @Cast(value="tensorflow::FunctionLibraryRuntime::LocalHandle") long local_handle)
@Cast(value="tensorflow::FunctionLibraryRuntime::Handle") public long GetHandle(@StdString BytePointer function_key)
@Cast(value="tensorflow::FunctionLibraryRuntime::Handle") public long GetHandle(@StdString String function_key)
@Cast(value="tensorflow::FunctionLibraryRuntime::LocalHandle") public long GetHandleOnDevice(@StdString BytePointer device_name, @Cast(value="tensorflow::FunctionLibraryRuntime::Handle") long handle)
@Cast(value="tensorflow::FunctionLibraryRuntime::LocalHandle") public long GetHandleOnDevice(@StdString String device_name, @Cast(value="tensorflow::FunctionLibraryRuntime::Handle") long handle)
@ByVal public Status GetOutputDevices(@Cast(value="tensorflow::FunctionLibraryRuntime::Handle") long handle, DeviceVector output_devices)
@Cast(value="bool") public boolean IsInstantiatedOnDevice(@StdString BytePointer device_name, @Cast(value="tensorflow::FunctionLibraryRuntime::Handle") long handle)
@Cast(value="bool") public boolean IsInstantiatedOnDevice(@StdString String device_name, @Cast(value="tensorflow::FunctionLibraryRuntime::Handle") long handle)
@ByVal public Status Instantiate(@StdString BytePointer function_name, @ByVal AttrSlice attrs, @Const @ByRef FunctionLibraryRuntime.InstantiateOptions options, @Cast(value="tensorflow::FunctionLibraryRuntime::Handle*") LongPointer handle)
@ByVal public Status Instantiate(@StdString String function_name, @ByVal AttrSlice attrs, @Const @ByRef FunctionLibraryRuntime.InstantiateOptions options, @Cast(value="tensorflow::FunctionLibraryRuntime::Handle*") LongBuffer handle)
@ByVal public Status Instantiate(@StdString BytePointer function_name, @ByVal AttrSlice attrs, @Const @ByRef FunctionLibraryRuntime.InstantiateOptions options, @Cast(value="tensorflow::FunctionLibraryRuntime::Handle*") long... handle)
@ByVal public Status Instantiate(@StdString String function_name, @ByVal AttrSlice attrs, @Const @ByRef FunctionLibraryRuntime.InstantiateOptions options, @Cast(value="tensorflow::FunctionLibraryRuntime::Handle*") LongPointer handle)
@ByVal public Status Instantiate(@StdString BytePointer function_name, @ByVal AttrSlice attrs, @Const @ByRef FunctionLibraryRuntime.InstantiateOptions options, @Cast(value="tensorflow::FunctionLibraryRuntime::Handle*") LongBuffer handle)
@ByVal public Status Instantiate(@StdString String function_name, @ByVal AttrSlice attrs, @Const @ByRef FunctionLibraryRuntime.InstantiateOptions options, @Cast(value="tensorflow::FunctionLibraryRuntime::Handle*") long... handle)
@ByVal public Status ReleaseHandle(@Cast(value="tensorflow::FunctionLibraryRuntime::Handle") long handle)
public void Run(@Const @ByRef FunctionLibraryRuntime.Options opts, @Cast(value="tensorflow::FunctionLibraryRuntime::Handle") long handle, @ByVal TensorVector args, TensorVector rets, @ByVal @Cast(value="tensorflow::FunctionLibraryRuntime::DoneCallback*") Pointer done)
public void Run(@Const @ByRef FunctionLibraryRuntime.Options opts, @Cast(value="tensorflow::FunctionLibraryRuntime::Handle") long handle, CallFrameInterface frame, @ByVal @Cast(value="tensorflow::FunctionLibraryRuntime::DoneCallback*") Pointer done)
@Const public FunctionLibraryDefinition GetFunctionLibraryDefinition()
Copyright © 2022. All rights reserved.