org.apache.mxnet.javaapi

sgd_updateParam

Related Doc: package javaapi

class sgd_updateParam extends AnyRef

This Param Object is specifically used for sgd_update

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. sgd_updateParam
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new sgd_updateParam(weight: NDArray, grad: NDArray, lr: Float)

    weight

    Weight

    grad

    Gradient

    lr

    Learning rate

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  10. def getClip_gradient(): Float

  11. def getGrad(): NDArray

  12. def getLazy_update(): Boolean

  13. def getLr(): Float

  14. def getOut(): mxnet.NDArray

  15. def getRescale_grad(): Float

  16. def getWd(): Float

  17. def getWeight(): NDArray

  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def setClip_gradient(clip_gradient: Float): sgd_updateParam

    clip_gradient

    Clip gradient to the range of [-clip_gradient, clip_gradient] If clip_gradient <= 0, gradient clipping is turned off. grad = max(min(grad, clip_gradient), -clip_gradient).

  24. def setLazy_update(lazy_update: Boolean): sgd_updateParam

    lazy_update

    If true, lazy updates are applied if gradient's stype is row_sparse.

  25. def setOut(out: NDArray): sgd_updateParam

  26. def setRescale_grad(rescale_grad: Float): sgd_updateParam

    rescale_grad

    Rescale gradient to grad = rescale_grad*grad.

  27. def setWd(wd: Float): sgd_updateParam

    wd

    Weight decay augments the objective function with a regularization term that penalizes large weights. The penalty scales with the square of the magnitude of each weight.

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped