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