@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.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 |
tensorflow.BarrierTakeMany.Attrs
Optional attribute setters for BarrierTakeMany
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
BarrierTakeMany(Pointer p)
Pointer cast constructor.
|
BarrierTakeMany(tensorflow.Scope scope,
tensorflow.Input handle,
tensorflow.Input num_elements,
tensorflow.DataTypeVector component_types) |
BarrierTakeMany(tensorflow.Scope scope,
tensorflow.Input handle,
tensorflow.Input num_elements,
tensorflow.DataTypeVector component_types,
tensorflow.BarrierTakeMany.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
static tensorflow.BarrierTakeMany.Attrs |
AllowSmallBatch(boolean x) |
tensorflow.Output |
indices() |
tensorflow.BarrierTakeMany |
indices(tensorflow.Output indices) |
tensorflow.Output |
keys() |
tensorflow.BarrierTakeMany |
keys(tensorflow.Output keys) |
tensorflow.Operation |
operation() |
tensorflow.BarrierTakeMany |
operation(tensorflow.Operation operation) |
static tensorflow.BarrierTakeMany.Attrs |
TimeoutMs(long x) |
tensorflow.OutputVector |
values() |
tensorflow.BarrierTakeMany |
values(tensorflow.OutputVector values) |
static tensorflow.BarrierTakeMany.Attrs |
WaitForIncomplete(boolean x) |
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 BarrierTakeMany(Pointer p)
Pointer.Pointer(Pointer).public BarrierTakeMany(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input handle, @ByVal tensorflow.Input num_elements, @Cast(value="const tensorflow::DataTypeSlice*") @ByRef tensorflow.DataTypeVector component_types)
public BarrierTakeMany(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input handle, @ByVal tensorflow.Input num_elements, @Cast(value="const tensorflow::DataTypeSlice*") @ByRef tensorflow.DataTypeVector component_types, @Const @ByRef tensorflow.BarrierTakeMany.Attrs attrs)
@ByVal public static tensorflow.BarrierTakeMany.Attrs AllowSmallBatch(@Cast(value="bool") boolean x)
@ByVal public static tensorflow.BarrierTakeMany.Attrs WaitForIncomplete(@Cast(value="bool") boolean x)
@ByVal public static tensorflow.BarrierTakeMany.Attrs TimeoutMs(@Cast(value="tensorflow::int64") long x)
@ByRef public tensorflow.Operation operation()
public tensorflow.BarrierTakeMany operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output indices()
public tensorflow.BarrierTakeMany indices(tensorflow.Output indices)
@ByRef public tensorflow.Output keys()
public tensorflow.BarrierTakeMany keys(tensorflow.Output keys)
@ByRef @Cast(value="tensorflow::OutputList*") public tensorflow.OutputVector values()
public tensorflow.BarrierTakeMany values(tensorflow.OutputVector values)
Copyright © 2019. All rights reserved.