Function tensorflow::ops::apply_momentum
source · pub fn apply_momentum<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>>(
var: O0,
accum: O1,
lr: O2,
grad: O3,
momentum: O4,
scope: &mut Scope
) -> Result<Operation>
Expand description
Shorthand for ApplyMomentum::new().build(var, accum, lr, grad, momentum, scope)
.