gradientStep
gradientStep(
x,gradient,_state?,options?):null
Defined in: steps.js:34
Plain gradient descent: x -= lr · g. Stateless; returns null so it has
the signature of the others.
Parameters
x
number[] | Float64Array<ArrayBufferLike>
moved in place
gradient
number[] | Float64Array<ArrayBufferLike>
_state?
null = null
options?
StepOptions = {}
Returns
null