TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tensorflow::ops::QueueEnqueue::Attrs

#include <data_flow_ops.h>

Optional attribute setters for QueueEnqueue.

Summary

Public attributes

timeout_ms_ = -1
int64

Public functions

TimeoutMs(int64 x)
TF_MUST_USE_RESULT Attrs
If the queue is full, this operation will block for up to timeout_ms milliseconds.

Public attributes

timeout_ms_

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

Public functions

TimeoutMs

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

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

Note: This option is not supported yet.

Defaults to -1