W3cubDocs

/TensorFlow C++

tensorflow::ops::QueueDequeue::Attrs

#include <data_flow_ops.h>

Optional attribute setters for QueueDequeue.

Summary

Public attributes
timeout_ms_ = -1
int64
Public functions
TimeoutMs(int64 x)
If the queue is empty, this operation will block for up to timeout_ms milliseconds.

Public attributes

timeout_ms_

int64 tensorflow::ops::QueueDequeue::Attrs::timeout_ms_ = -1

Public functions

TimeoutMs

Attrs tensorflow::ops::QueueDequeue::Attrs::TimeoutMs(
  int64 x
)

If the queue is empty, this operation will block for up to timeout_ms milliseconds.

Note: This option is not supported yet.

Defaults to -1

© 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/struct/tensorflow/ops/queue-dequeue/attrs.html