W3cubDocs

/TensorFlow C++

tensorflow::ops::AccumulatorSetGlobalStep

#include <data_flow_ops.h>

Updates the accumulator with a new value for global_step.

Summary

Logs warning if the accumulator's value is already higher than new_global_step.

Arguments:

  • scope: A Scope object
  • handle: The handle to an accumulator.
  • new_global_step: The new global_step value to set.

Returns:

Constructors and Destructors
AccumulatorSetGlobalStep(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input new_global_step)
Public attributes
operation
Public functions
operator::tensorflow::Operation() const

Public attributes

operation

Operation operation

Public functions

AccumulatorSetGlobalStep

 AccumulatorSetGlobalStep(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::Input new_global_step
)

operator::tensorflow::Operation

operator::tensorflow::Operation() const 

© 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/accumulator-set-global-step.html