ClipGradientAction
abstract class ClipGradientAction
Content copied to clipboard
Base abstract class for approaches to clip gradient values from step to step in optimizer.
Constructors
ClipGradientAction
Link copied to clipboard
fun ClipGradientAction()
Content copied to clipboard
Functions
clipGradient
Link copied to clipboard
abstract fun clipGradient(tf: Ops, gradient: Operand<Float>): Operand<Float>
Content copied to clipboard
Clips gradient.
Inheritors
NoClipGradient
Link copied to clipboard
ClipGradientByValue
Link copied to clipboard
ClipGradientByNorm
Link copied to clipboard