Class

org.apache.mxnet.javaapi

SoftmaxOutputParam

Related Doc: package javaapi

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    data

    Input array.

    label

    Ground truth label.

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getData(): NDArray

    Permalink
  11. def getGrad_scale(): Float

    Permalink
  12. def getIgnore_label(): Float

    Permalink
  13. def getLabel(): NDArray

    Permalink
  14. def getMulti_output(): Boolean

    Permalink
  15. def getNormalization(): String

    Permalink
  16. def getOut(): mxnet.NDArray

    Permalink
  17. def getOut_grad(): Boolean

    Permalink
  18. def getPreserve_shape(): Boolean

    Permalink
  19. def getSmooth_alpha(): Float

    Permalink
  20. def getUse_ignore(): Boolean

    Permalink
  21. def hashCode(): Int

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

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

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

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

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

    Permalink

    grad_scale

    Scales the gradient by a float factor.

  27. def setIgnore_label(ignore_label: Float): SoftmaxOutputParam

    Permalink

    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

    Permalink

    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

    Permalink

    normalization

    Normalizes the gradient.

  30. def setOut(out: NDArray): SoftmaxOutputParam

    Permalink
  31. def setOut_grad(out_grad: Boolean): SoftmaxOutputParam

    Permalink

    out_grad

    Multiplies gradient with output gradient element-wise.

  32. def setPreserve_shape(preserve_shape: Boolean): SoftmaxOutputParam

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  36. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped