W3cubDocs

/TensorFlow C++ 1.15

tensorflow::ops::LoopCond

#include <control_flow_ops.h>

Forwards the input to the output.

Summary

This operator represents the loop termination condition used by the "pivot" switches of a loop.

Arguments:

  • scope: A Scope object
  • input: A boolean scalar, representing the branch predicate of the Switch op.

Returns:

  • Output: The same tensor as input.
Constructors and Destructors
LoopCond(const ::tensorflow::Scope & scope, ::tensorflow::Input input)
Public attributes
operation
output
Public functions
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Public attributes

operation

Operation operation

output

::tensorflow::Output output

Public functions

LoopCond

 LoopCond(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

© 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/class/tensorflow/ops/loop-cond