ClipGradientByNorm

class ClipGradientByNorm(clipNormValue: Float) : ClipGradientAction

Clips gradient with pre-defined clipNormValue norm.

NOTE: Is not supported yet.

Constructors

ClipGradientByNorm
Link copied to clipboard
fun ClipGradientByNorm(clipNormValue: Float)

Functions

clipGradient
Link copied to clipboard
open override fun clipGradient(tf: Ops, gradient: Operand<Float>): Operand<Float>

Clips gradient.