Function tensorflow::eager::raw_ops::resource_apply_momentum
source · pub fn resource_apply_momentum<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>>(
ctx: &'a Context,
var: &T0,
accum: &T1,
lr: &T2,
grad: &T3,
momentum: &T4
) -> Result<()>
Expand description
Shorthand for ResourceApplyMomentum::new().call(&ctx, &var, &accum, &lr, &grad, &momentum)
.
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/ResourceApplyMomentum