W3cubDocs

/TensorFlow C++ 1.15

tensorflow::ops::QueueDequeueMany::Attrs

#include <data_flow_ops.h>

Optional attribute setters for QueueDequeueMany.

Summary

Public attributes
timeout_ms_ = -1
int64
Public functions
TimeoutMs(int64 x)
TF_MUST_USE_RESULT Attrs
If the queue has fewer than n elements, this operation will block for up to timeout_ms milliseconds.

Public attributes

timeout_ms_

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

Public functions

TimeoutMs

TF_MUST_USE_RESULT Attrs tensorflow::ops::QueueDequeueMany::Attrs::TimeoutMs(
  int64 x
)

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.

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-many/attrs