Link Search Menu Expand Document

AccumulatorSetGlobalStep


tensorflow C++ API

tensorflow::ops::AccumulatorSetGlobalStep

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:

  • Output : the created Operation

Constructor

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

Public attributes

  • tensorflow::Operation operation.

AccumulatorSetGlobalStep block

Source link : https://github.com/EXPNUNI/enuSpace-Tensorflow/blob/master/enuSpaceTensorflow/tf_data_flow_ops.cpp

Argument:

  • Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
  • Input handle: connect Input node.
  • new_global_step : connect Input node.

Return:

  • Operation operation.: Output operation of AccumulatorSetGlobalStep object.

Result:

  • std::vector(Tensor) product_result : Returned object of executed result by calling session.

Using Method