@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class 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 |
QueueDequeueMany.Attrs
Optional attribute setters for QueueDequeueMany
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
QueueDequeueMany(Pointer p)
Pointer cast constructor.
|
QueueDequeueMany(Scope scope,
Input handle,
Input n,
DataTypeVector component_types) |
QueueDequeueMany(Scope scope,
Input handle,
Input n,
DataTypeVector component_types,
QueueDequeueMany.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
OutputVector |
components() |
QueueDequeueMany |
components(OutputVector setter) |
Output |
get(long index) |
Operation |
operation() |
QueueDequeueMany |
operation(Operation setter) |
static QueueDequeueMany.Attrs |
TimeoutMs(long 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 QueueDequeueMany(Pointer p)
Pointer(Pointer)
.public QueueDequeueMany(@Const @ByRef Scope scope, @ByVal Input handle, @ByVal Input n, @Cast(value="const tensorflow::DataTypeSlice*") @ByRef DataTypeVector component_types)
@ByVal public static QueueDequeueMany.Attrs TimeoutMs(@Cast(value="tensorflow::int64") long x)
public QueueDequeueMany operation(Operation setter)
@ByRef @Cast(value="tensorflow::OutputList*") public OutputVector components()
public QueueDequeueMany components(OutputVector setter)
Copyright © 2022. All rights reserved.