W3cubDocs

/TensorFlow C++

tensorflow::ops::StagePeek

#include <data_flow_ops.h>

Op peeks at the values at the specified index.

Summary

If the

underlying container does not contain sufficient elements this op will block until it does. This Op is optimized for performance.

Arguments:

Returns:

  • OutputList: The values tensor.
Constructors and Destructors
StagePeek(const ::tensorflow::Scope & scope, ::tensorflow::Input index, const DataTypeSlice & dtypes)
StagePeek(const ::tensorflow::Scope & scope, ::tensorflow::Input index, const DataTypeSlice & dtypes, const StagePeek::Attrs & attrs)
Public attributes
values
Public functions
operator[](size_t index) const
Public static functions
Capacity(int64 x)
Container(StringPiece x)
MemoryLimit(int64 x)
SharedName(StringPiece x)
Structs
tensorflow::ops::StagePeek::Attrs

Optional attribute setters for StagePeek.

Public attributes

values

::tensorflow::OutputList values

Public functions

StagePeek

 StagePeek(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input index,
  const DataTypeSlice & dtypes
)

StagePeek

 StagePeek(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input index,
  const DataTypeSlice & dtypes,
  const StagePeek::Attrs & attrs
)

operator[]

::tensorflow::Output operator[](
  size_t index
) const 

Public static functions

Capacity

Attrs Capacity(
  int64 x
)

Container

Attrs Container(
  StringPiece x
)

MemoryLimit

Attrs MemoryLimit(
  int64 x
)

SharedName

Attrs SharedName(
  StringPiece x
)

© 2018 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-peek.html