tensorflow::ops::QueueEnqueue

#include <data_flow_ops.h>

Enqueues a tuple of one or more tensors in the given queue.

Summary

The components input has k elements, which correspond to the components of tuples stored in the given queue.

N.B. If the queue is full, this operation will block until the given element has been enqueued (or 'timeout_ms' elapses, if specified).

Arguments:

  • scope: A Scope object
  • handle: The handle to a queue.
  • components: One or more tensors from which the enqueued tensors should be taken.

Optional attributes (see Attrs):

  • timeout_ms: If the queue is full, this operation will block for up to timeout_ms milliseconds. Note: This option is not supported yet.

Returns:

Constructors and Destructors
QueueEnqueue(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::InputList components)
QueueEnqueue(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::InputList components, const QueueEnqueue::Attrs & attrs)
Public attributes
operation
Public functions
operator::tensorflow::Operation() const
Public static functions
TimeoutMs(int64 x)
Structs
tensorflow::ops::QueueEnqueue::Attrs

Optional attribute setters for QueueEnqueue.

Public attributes

operation

Operation operation

Public functions

QueueEnqueue

 QueueEnqueue(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::InputList components
)

QueueEnqueue

 QueueEnqueue(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::InputList components,
  const QueueEnqueue::Attrs & attrs
)

operator::tensorflow::Operation

operator::tensorflow::Operation() const 

Public static functions

TimeoutMs

Attrs TimeoutMs(
  int64 x
)

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/queue-enqueue