@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.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 |
tensorflow.Barrier.Attrs
Optional attribute setters for Barrier
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Barrier(Pointer p)
Pointer cast constructor.
|
Barrier(tensorflow.Scope scope,
tensorflow.DataTypeVector component_types) |
Barrier(tensorflow.Scope scope,
tensorflow.DataTypeVector component_types,
tensorflow.Barrier.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
static tensorflow.Barrier.Attrs |
Capacity(long x) |
static tensorflow.Barrier.Attrs |
Container(BytePointer x) |
static tensorflow.Barrier.Attrs |
Container(String x) |
tensorflow.Output |
handle() |
tensorflow.Barrier |
handle(tensorflow.Output handle) |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.Barrier |
operation(tensorflow.Operation operation) |
static tensorflow.Barrier.Attrs |
Shapes(tensorflow.PartialTensorShape x) |
static tensorflow.Barrier.Attrs |
SharedName(BytePointer x) |
static tensorflow.Barrier.Attrs |
SharedName(String 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 Barrier(Pointer p)
Pointer.Pointer(Pointer).public Barrier(@Const @ByRef tensorflow.Scope scope, @Cast(value="const tensorflow::DataTypeSlice*") @ByRef tensorflow.DataTypeVector component_types)
public Barrier(@Const @ByRef tensorflow.Scope scope, @Cast(value="const tensorflow::DataTypeSlice*") @ByRef tensorflow.DataTypeVector component_types, @Const @ByRef tensorflow.Barrier.Attrs attrs)
@ByVal @Name(value="operator tensorflow::Output") public tensorflow.Output asOutput()
@ByVal @Name(value="operator tensorflow::Input") public tensorflow.Input asInput()
public tensorflow.Node node()
@ByVal public static tensorflow.Barrier.Attrs Shapes(@tensorflow.ArraySlice tensorflow.PartialTensorShape x)
@ByVal public static tensorflow.Barrier.Attrs Capacity(@Cast(value="tensorflow::int64") long x)
@ByVal public static tensorflow.Barrier.Attrs Container(@tensorflow.StringPiece BytePointer x)
@ByVal public static tensorflow.Barrier.Attrs Container(@tensorflow.StringPiece String x)
@ByVal public static tensorflow.Barrier.Attrs SharedName(@tensorflow.StringPiece BytePointer x)
@ByVal public static tensorflow.Barrier.Attrs SharedName(@tensorflow.StringPiece String x)
@ByRef public tensorflow.Operation operation()
public tensorflow.Barrier operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output handle()
public tensorflow.Barrier handle(tensorflow.Output handle)
Copyright © 2019. All rights reserved.