org.apache.mxnet.javaapi

SoftmaxOutputParam

Related Doc: package javaapi

class SoftmaxOutputParam extends AnyRef

This Param Object is specifically used for SoftmaxOutput

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

Instance Constructors

  1. new SoftmaxOutputParam(data: NDArray, label: NDArray)

    data

    Input array.

    label

    Ground truth label.

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 getData(): NDArray

  11. def getGrad_scale(): Float

  12. def getIgnore_label(): Float

  13. def getLabel(): NDArray

  14. def getMulti_output(): Boolean

  15. def getNormalization(): String

  16. def getOut(): mxnet.NDArray

  17. def getOut_grad(): Boolean

  18. def getPreserve_shape(): Boolean

  19. def getSmooth_alpha(): Float

  20. def getUse_ignore(): Boolean

  21. def hashCode(): Int

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

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

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

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

    Definition Classes
    AnyRef
  26. def setGrad_scale(grad_scale: Float): SoftmaxOutputParam

    grad_scale

    Scales the gradient by a float factor.

  27. def setIgnore_label(ignore_label: Float): SoftmaxOutputParam

    ignore_label

    The instances whose labels == ignore_label will be ignored during backward, if use_ignore is set to true).

  28. def setMulti_output(multi_output: Boolean): SoftmaxOutputParam

    multi_output

    If set to true, the softmax function will be computed along axis 1. This is applied when the shape of input array differs from the shape of label array.

  29. def setNormalization(normalization: String): SoftmaxOutputParam

    normalization

    Normalizes the gradient.

  30. def setOut(out: NDArray): SoftmaxOutputParam

  31. def setOut_grad(out_grad: Boolean): SoftmaxOutputParam

    out_grad

    Multiplies gradient with output gradient element-wise.

  32. def setPreserve_shape(preserve_shape: Boolean): SoftmaxOutputParam

    preserve_shape

    If set to true, the softmax function will be computed along the last axis (-1).

  33. def setSmooth_alpha(smooth_alpha: Float): SoftmaxOutputParam

    smooth_alpha

    Constant for computing a label smoothed version of cross-entropyfor the backwards pass. This constant gets subtracted from theone-hot encoding of the gold label and distributed uniformly toall other labels.

  34. def setUse_ignore(use_ignore: Boolean): SoftmaxOutputParam

    use_ignore

    If set to true, the ignore_label value will not contribute to the backward gradient.

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

    Definition Classes
    AnyRef
  36. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped