tensorflow::ops::QueueEnqueueMany

tensorflow::ops::QueueEnqueueMany

#include <data_flow_ops.h>

Enqueues zero or more tuples of one or more tensors in the given queue.

Summary

This operation slices each component tensor along the 0th dimension to make multiple queue elements. All of the tuple components must have the same size in the 0th dimension.

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 elements have 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 too full, this operation will block for up to timeout_ms milliseconds. Note: This option is not supported yet.

Returns:

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

Optional attribute setters for QueueEnqueueMany.

Public attributes

operation

Operation operation

Public functions

QueueEnqueueMany

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

QueueEnqueueMany

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

operator::tensorflow::Operation

operator::tensorflow::Operation() const 

Public static functions

TimeoutMs

Attrs TimeoutMs(
  int64 x
)

© 2017 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/api_docs/cc/class/tensorflow/ops/queue-enqueue-many.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部