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)
TF_MUST_USE_RESULT Attrs
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

TF_MUST_USE_RESULT 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

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