tensorflow::ops::AccumulatorApplyGradient

tensorflow::ops::AccumulatorApplyGradient

#include <data_flow_ops.h>

Applies a gradient to a given accumulator.

Summary

Does not add if local_step is lesser than the accumulator's global_step.

Arguments:

  • scope: A Scope object
  • handle: The handle to a accumulator.
  • local_step: The local_step value at which the gradient was computed.
  • gradient: A tensor of the gradient to be accumulated.

Returns:

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

Public attributes

operation

Operation operation

Public functions

AccumulatorApplyGradient

 AccumulatorApplyGradient(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::Input local_step,
  ::tensorflow::Input gradient
)

operator::tensorflow::Operation

operator::tensorflow::Operation() const 

© 2017 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-apply-gradient.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部