@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class Barrier extends Pointer
Attrs
):
* shapes: The shape of each component in a value. Each shape must be 1 in the
first dimension. The length of this attr must be the same as the length of
component_types.
* capacity: The capacity of the barrier. The default capacity is MAX_INT32,
which is the largest capacity of the underlying queue.
* container: If non-empty, this barrier is placed in the given container.
Otherwise, a default container is used.
* shared_name: If non-empty, this barrier will be shared under the given name
across multiple sessions.
Returns:
* Output
: The handle to the barrier.Modifier and Type | Class and Description |
---|---|
static class |
Barrier.Attrs
Optional attribute setters for Barrier
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Barrier(Pointer p)
Pointer cast constructor.
|
Barrier(Scope scope,
DataTypeVector component_types) |
Barrier(Scope scope,
DataTypeVector component_types,
Barrier.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
static Barrier.Attrs |
Capacity(long x) |
static Barrier.Attrs |
Container(BytePointer x) |
static Barrier.Attrs |
Container(String x) |
Output |
handle() |
Barrier |
handle(Output setter) |
Node |
node() |
Operation |
operation() |
Barrier |
operation(Operation setter) |
static Barrier.Attrs |
Shapes(PartialTensorShape x) |
static Barrier.Attrs |
SharedName(BytePointer x) |
static Barrier.Attrs |
SharedName(String 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 Barrier(Pointer p)
Pointer(Pointer)
.public Barrier(@Const @ByRef Scope scope, @Cast(value="const tensorflow::DataTypeSlice*") @ByRef DataTypeVector component_types)
public Barrier(@Const @ByRef Scope scope, @Cast(value="const tensorflow::DataTypeSlice*") @ByRef DataTypeVector component_types, @Const @ByRef Barrier.Attrs attrs)
public Node node()
@ByVal public static Barrier.Attrs Shapes(@tensorflow.ArraySlice PartialTensorShape x)
@ByVal public static Barrier.Attrs Capacity(@Cast(value="tensorflow::int64") long x)
@ByVal public static Barrier.Attrs Container(@tensorflow.StringPiece BytePointer x)
@ByVal public static Barrier.Attrs Container(@tensorflow.StringPiece String x)
@ByVal public static Barrier.Attrs SharedName(@tensorflow.StringPiece BytePointer x)
@ByVal public static Barrier.Attrs SharedName(@tensorflow.StringPiece String x)
Copyright © 2022. All rights reserved.