@Namespace(value="tensorflow") @Properties(inherit=tensorflow.class) public class AsyncOpKernel extends OpKernel
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
kCostDecay, kInitialCostEstimateCycles, kOpIsExpensiveThresholdCycles
Constructor and Description |
---|
AsyncOpKernel(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
AsyncOpKernel |
AsAsync() |
void |
Compute(OpKernelContext context) |
void |
ComputeAsync(OpKernelContext context,
tensorflow.Fn done) |
allow_legacy_scalars, def, DeviceNumaNode, input_memory_types, input_type, input_types, InputRange, InputRange, InputRange, InputRange, InputRange, InputRange, IsExpensive, IsLegacyScalar, IsLegacyVector, kCostDecay, kInitialCostEstimateCycles, kOpIsExpensiveThresholdCycles, MakeShape, name, num_inputs, num_outputs, output_memory_types, output_type, output_types, OutputRange, OutputRange, OutputRange, OutputRange, OutputRange, OutputRange, requested_device, requested_input, type_string, UpdateCostEstimate
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 AsyncOpKernel(Pointer p)
Pointer(Pointer)
.public void ComputeAsync(OpKernelContext context, @ByVal @Cast(value="tensorflow::AsyncOpKernel::DoneCallback*") tensorflow.Fn done)
public AsyncOpKernel AsAsync()
public void Compute(OpKernelContext context)
Copyright © 2022. All rights reserved.