AdaGradState#
- class vulkpy.nn.AdaGradState#
Bases:
OptimizerState
Optimizer State for AdaGrad
Methods Summary
grad2diff
(grad)Compute diff from gradient
Methods Documentation
- grad2diff(grad: Array) Array #
Compute diff from gradient
- Parameters:
grad (vulkpy.Array) – Gradient
- Returns:
diff – Update diff
- Return type: