W3cubDocs

/TensorFlow C++

State Ops

Summary

Classes
tensorflow::ops::Assign

Update 'ref' by assigning 'value' to it.

tensorflow::ops::AssignAdd

Update 'ref' by adding 'value' to it.

tensorflow::ops::AssignSub

Update 'ref' by subtracting 'value' from it.

tensorflow::ops::CountUpTo

Increments 'ref' until it reaches 'limit'.

tensorflow::ops::DestroyTemporaryVariable

Destroys the temporary variable and returns its final value.

tensorflow::ops::IsVariableInitialized

Checks whether a tensor has been initialized.

tensorflow::ops::ResourceCountUpTo

Increments variable pointed to by 'resource' until it reaches 'limit'.

tensorflow::ops::ResourceScatterNdUpdate

Applies sparse updates to individual values or slices within a given.

tensorflow::ops::ScatterAdd

Adds sparse updates to a variable reference.

tensorflow::ops::ScatterDiv

Divides a variable reference by sparse updates.

tensorflow::ops::ScatterMax

Reduces sparse updates into a variable reference using the max operation.

tensorflow::ops::ScatterMin

Reduces sparse updates into a variable reference using the min operation.

tensorflow::ops::ScatterMul

Multiplies sparse updates into a variable reference.

tensorflow::ops::ScatterNdAdd

Applies sparse addition between updates and individual values or slices.

tensorflow::ops::ScatterNdSub

Applies sparse subtraction between updates and individual values or slices.

tensorflow::ops::ScatterNdUpdate

Applies sparse updates to individual values or slices within a given.

tensorflow::ops::ScatterSub

Subtracts sparse updates to a variable reference.

tensorflow::ops::ScatterUpdate

Applies sparse updates to a variable reference.

tensorflow::ops::TemporaryVariable

Returns a tensor that may be mutated, but only persists within a single step.

tensorflow::ops::Variable

Holds state in the form of a tensor that persists across steps.

© 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/group/state-ops