@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.QueueDequeueMany extends Pointer
n tuples of one or more tensors from the given queue.
If the queue is closed and there are fewer than n elements, then an
OutOfRange error is returned.
This operation concatenates queue-element component tensors along the
0th dimension to make a single component tensor. All of the components
in the dequeued tuple will have size n in the 0th dimension.
This operation has k outputs, where k is the number of components in
the tuples stored in the given queue, and output i is the ith
component of the dequeued tuple.
N.B. If the queue is empty, this operation will block until n elements
have been dequeued (or 'timeout_ms' elapses, if specified).
Arguments:
* scope: A Scope object
* handle: The handle to a queue.
* n: The number of tuples to dequeue.
* component_types: The type of each component in a tuple.
Optional attributes (see Attrs):
* timeout_ms: If the queue has fewer than n elements, this operation
will block for up to timeout_ms milliseconds.
Note: This option is not supported yet.
Returns:
* OutputList: One or more tensors that were dequeued as a tuple.| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.QueueDequeueMany.Attrs
Optional attribute setters for QueueDequeueMany
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
QueueDequeueMany(Pointer p)
Pointer cast constructor.
|
QueueDequeueMany(tensorflow.Scope scope,
tensorflow.Input handle,
tensorflow.Input n,
tensorflow.DataTypeVector component_types) |
QueueDequeueMany(tensorflow.Scope scope,
tensorflow.Input handle,
tensorflow.Input n,
tensorflow.DataTypeVector component_types,
tensorflow.QueueDequeueMany.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.OutputVector |
components() |
tensorflow.QueueDequeueMany |
components(tensorflow.OutputVector components) |
tensorflow.Output |
get(long index) |
tensorflow.Operation |
operation() |
tensorflow.QueueDequeueMany |
operation(tensorflow.Operation operation) |
static tensorflow.QueueDequeueMany.Attrs |
TimeoutMs(long 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 QueueDequeueMany(Pointer p)
Pointer.Pointer(Pointer).public QueueDequeueMany(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input handle, @ByVal tensorflow.Input n, @Cast(value="const tensorflow::DataTypeSlice*") @ByRef tensorflow.DataTypeVector component_types)
public QueueDequeueMany(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input handle, @ByVal tensorflow.Input n, @Cast(value="const tensorflow::DataTypeSlice*") @ByRef tensorflow.DataTypeVector component_types, @Const @ByRef tensorflow.QueueDequeueMany.Attrs attrs)
@ByVal @Name(value="operator []") public tensorflow.Output get(@Cast(value="size_t") long index)
@ByVal public static tensorflow.QueueDequeueMany.Attrs TimeoutMs(@Cast(value="tensorflow::int64") long x)
@ByRef public tensorflow.Operation operation()
public tensorflow.QueueDequeueMany operation(tensorflow.Operation operation)
@ByRef @Cast(value="tensorflow::OutputList*") public tensorflow.OutputVector components()
public tensorflow.QueueDequeueMany components(tensorflow.OutputVector components)
Copyright © 2019. All rights reserved.