Function tensorflow::eager::raw_ops::accumulator_take_gradient
source · pub fn accumulator_take_gradient<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>(
ctx: &'a Context,
handle: &T0,
num_required: &T1
) -> Result<TensorHandle<'a>>
Expand description
Shorthand for AccumulatorTakeGradient::new().call(&ctx, &handle, &num_required)
.
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/AccumulatorTakeGradient