@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class BarrierTakeMany extends Pointer
Attrs
):
* allow_small_batch: Allow to return less than num_elements items if barrier is
already closed.
* timeout_ms: If the queue is empty, this operation will block for up to
timeout_ms milliseconds.
Note: This option is not supported yet.
Returns:
* Output
indices: A one-dimensional tensor of indices, with length num_elems.
These indices refer to the batch in which the values were placed into the
barrier (starting with MIN_LONG and increasing with each BarrierInsertMany).
* Output
keys: A one-dimensional tensor of keys, with length num_elements.
* OutputList
values: One any-dimensional tensor per component in a barrier element. All
values have length num_elements in the 0th dimension.Modifier and Type | Class and Description |
---|---|
static class |
BarrierTakeMany.Attrs
Optional attribute setters for BarrierTakeMany
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
BarrierTakeMany(Pointer p)
Pointer cast constructor.
|
BarrierTakeMany(Scope scope,
Input handle,
Input num_elements,
DataTypeVector component_types) |
BarrierTakeMany(Scope scope,
Input handle,
Input num_elements,
DataTypeVector component_types,
BarrierTakeMany.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
static BarrierTakeMany.Attrs |
AllowSmallBatch(boolean x) |
Output |
indices() |
BarrierTakeMany |
indices(Output setter) |
Output |
keys() |
BarrierTakeMany |
keys(Output setter) |
Operation |
operation() |
BarrierTakeMany |
operation(Operation setter) |
static BarrierTakeMany.Attrs |
TimeoutMs(long x) |
OutputVector |
values() |
BarrierTakeMany |
values(OutputVector setter) |
static BarrierTakeMany.Attrs |
WaitForIncomplete(boolean x) |
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 BarrierTakeMany(Pointer p)
Pointer(Pointer)
.public BarrierTakeMany(@Const @ByRef Scope scope, @ByVal Input handle, @ByVal Input num_elements, @Cast(value="const tensorflow::DataTypeSlice*") @ByRef DataTypeVector component_types)
@ByVal public static BarrierTakeMany.Attrs AllowSmallBatch(@Cast(value="bool") boolean x)
@ByVal public static BarrierTakeMany.Attrs WaitForIncomplete(@Cast(value="bool") boolean x)
@ByVal public static BarrierTakeMany.Attrs TimeoutMs(@Cast(value="tensorflow::int64") long x)
public BarrierTakeMany operation(Operation setter)
public BarrierTakeMany indices(Output setter)
public BarrierTakeMany keys(Output setter)
@ByRef @Cast(value="tensorflow::OutputList*") public OutputVector values()
public BarrierTakeMany values(OutputVector setter)
Copyright © 2022. All rights reserved.