W3cubDocs

/TensorFlow C++

tensorflow::ops::Stage

#include <data_flow_ops.h>

Stage values similar to a lightweight Enqueue.

Summary

The basic functionality of this

Op is similar to a queue with many fewer capabilities and options. This Op is optimized for performance.

Arguments:

  • scope: A Scope object
  • values: a list of tensors

Optional attributes (see Attrs):

  • container: If non-empty, this queue is placed in the given container. Otherwise, a default container is used.
  • shared_name: It is necessary to match this name to the matching Unstage Op.

Returns:

Constructors and Destructors
Stage(const ::tensorflow::Scope & scope, ::tensorflow::InputList values)
Stage(const ::tensorflow::Scope & scope, ::tensorflow::InputList values, const Stage::Attrs & attrs)
Public attributes
operation
Public functions
operator::tensorflow::Operation() const
Public static functions
Container(StringPiece x)
SharedName(StringPiece x)
Structs
tensorflow::ops::Stage::Attrs

Optional attribute setters for Stage.

Public attributes

operation

Operation operation

Public functions

Stage

 Stage(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList values
)

Stage

 Stage(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList values,
  const Stage::Attrs & attrs
)

operator::tensorflow::Operation

operator::tensorflow::Operation() const 

Public static functions

Container

Attrs Container(
  StringPiece x
)

SharedName

Attrs SharedName(
  StringPiece 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/stage.html