tensorflow/core/kernels/conditional_accumulator_base.cc
/**
 * Sets the time step of the accumulator to be in line with the global time
 * step. Logs warning if the accumulator's time step is already larger than the
 * provided time step.
 */
Sets the time step of the accumulator to be in line with the global time
step. Logs warning if the accumulator's time step is already larger than the
provided time step.
Sets the time step of the accumulator to be in line with the global time step . Logs warning if the accumulator ' s time step is already larger than the provided time step .
Status ConditionalAccumulatorBase::SetGlobalStep(int64_t new_global_step) {
  mutex_lock lock(mu_);
  if (new_global_step < current_global_step_) {
    LOG(WARNING) << "Attempt to set current_global_step_ to smaller value: "
                 << "current_global_step_ = " << current_global_step_
                 << " >= " << new_global_step << " = new_global_step.";
  }
  current_global_step_ = new_global_step;
  return Status::OK();
}
Status ConditionalAccumulatorBase :: SetGlobalStep ( int64_t new_global_step ) { mutex_lock lock ( mu_ ) ; if ( new_global_step < current_global_step_ ) { LOG ( WARNING ) << " " << " " << current_global_step_ << " " << new_global_step << " " ; } current_global_step_ = new_global_step ; return Status :: OK ( ) ; }
Sets the time step of the accumulator to be in line with the global time
 step.
Sets the time step of the accumulator to be in line with the global time step .