public static class tensorflow.OpKernelContext.Params extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
kNeverForward |
static int |
kNoReservation |
| Constructor and Description |
|---|
Params()
Default native constructor.
|
Params(long size)
Native array allocator.
|
Params(Pointer p)
Pointer cast constructor.
|
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, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic static final int kNeverForward
public static final int kNoReservation
public Params()
public Params(long size)
Pointer.position(long).public Params(Pointer p)
Pointer.Pointer(Pointer).public tensorflow.OpKernelContext.Params position(long position)
public tensorflow.OpKernelContext.Params step_id(long step_id)
public tensorflow.OpKernel op_kernel()
public tensorflow.OpKernelContext.Params op_kernel(tensorflow.OpKernel op_kernel)
public tensorflow.DeviceBase device()
public tensorflow.OpKernelContext.Params device(tensorflow.DeviceBase device)
public tensorflow.PerOpGpuDevice eigen_gpu_device()
public tensorflow.OpKernelContext.Params eigen_gpu_device(tensorflow.PerOpGpuDevice eigen_gpu_device)
public void ensure_eigen_gpu_device()
public tensorflow.OpKernelContext.Params track_allocations(boolean track_allocations)
public tensorflow.OpKernelContext.Params log_memory(boolean log_memory)
public tensorflow.OpKernelContext.Params record_tensor_accesses(boolean record_tensor_accesses)
@MemberGetter @Const public tensorflow.AllocatorAttributes output_attr_array()
public tensorflow.ResourceMgr resource_manager()
public tensorflow.OpKernelContext.Params resource_manager(tensorflow.ResourceMgr resource_manager)
public tensorflow.ScopedStepContainer step_container()
public tensorflow.OpKernelContext.Params step_container(tensorflow.ScopedStepContainer step_container)
public tensorflow.Rendezvous rendezvous()
public tensorflow.OpKernelContext.Params rendezvous(tensorflow.Rendezvous rendezvous)
public tensorflow.CollectiveExecutor collective_executor()
public tensorflow.OpKernelContext.Params collective_executor(tensorflow.CollectiveExecutor collective_executor)
public tensorflow.SessionState session_state()
public tensorflow.OpKernelContext.Params session_state(tensorflow.SessionState session_state)
public tensorflow.TensorStore tensor_store()
public tensorflow.OpKernelContext.Params tensor_store(tensorflow.TensorStore tensor_store)
public tensorflow.CancellationManager cancellation_manager()
public tensorflow.OpKernelContext.Params cancellation_manager(tensorflow.CancellationManager cancellation_manager)
@MemberGetter @Const public tensorflow.TensorValueVector inputs()
public tensorflow.OpKernelContext.Params is_input_dead(boolean is_input_dead)
@MemberGetter @Const public tensorflow.AllocatorAttributesVector input_alloc_attrs()
@MemberGetter @Const public tensorflow.DeviceContextInlinedVector input_device_contexts()
public tensorflow.DeviceContext op_device_context()
public tensorflow.OpKernelContext.Params op_device_context(tensorflow.DeviceContext op_device_context)
@ByRef public tensorflow.FrameAndIter frame_iter()
public tensorflow.OpKernelContext.Params frame_iter(tensorflow.FrameAndIter frame_iter)
public tensorflow.CallFrameInterface call_frame()
public tensorflow.OpKernelContext.Params call_frame(tensorflow.CallFrameInterface call_frame)
public tensorflow.FunctionLibraryRuntime function_library()
public tensorflow.OpKernelContext.Params function_library(tensorflow.FunctionLibraryRuntime function_library)
public tensorflow.OpKernelContext.Params runner(Pointer runner)
public tensorflow.StepStatsCollectorInterface stats_collector()
public tensorflow.OpKernelContext.Params stats_collector(tensorflow.StepStatsCollectorInterface stats_collector)
public tensorflow.TensorSliceReaderCacheWrapper slice_reader_cache()
public tensorflow.OpKernelContext.Params slice_reader_cache(tensorflow.TensorSliceReaderCacheWrapper slice_reader_cache)
@MemberGetter public static int kNeverForward()
@MemberGetter public static int kNoReservation()
@MemberGetter @Const public IntPointer forward_from_array()
Copyright © 2019. All rights reserved.