org.apache.mxnet.javaapi

CTCLossParam

Related Doc: package javaapi

class CTCLossParam extends AnyRef

This Param Object is specifically used for CTCLoss

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

Instance Constructors

  1. new CTCLossParam(data: NDArray, label: NDArray, data_lengths: NDArray, label_lengths: NDArray)

    data

    Input ndarray

    label

    Ground-truth labels for the loss.

    data_lengths

    Lengths of data for each of the samples. Only required when use_data_lengths is true.

    label_lengths

    Lengths of labels for each of the samples. Only required when use_label_lengths is true.

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. def getBlank_label(): String

  10. final def getClass(): Class[_]

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

  12. def getData_lengths(): NDArray

  13. def getLabel(): NDArray

  14. def getLabel_lengths(): NDArray

  15. def getOut(): mxnet.NDArray

  16. def getUse_data_lengths(): Boolean

  17. def getUse_label_lengths(): Boolean

  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 setBlank_label(blank_label: String): CTCLossParam

    blank_label

    Set the label that is reserved for blank label.If "first", 0-th label is reserved, and label values for tokens in the vocabulary are between 1 and alphabet_size-1, and the padding mask is -1. If "last", last label value alphabet_size-1 is reserved for blank label instead, and label values for tokens in the vocabulary are between 0 and alphabet_size-2, and the padding mask is 0.

  24. def setOut(out: NDArray): CTCLossParam

  25. def setUse_data_lengths(use_data_lengths: Boolean): CTCLossParam

    use_data_lengths

    Whether the data lenghts are decided by data_lengths. If false, the lengths are equal to the max sequence length.

  26. def setUse_label_lengths(use_label_lengths: Boolean): CTCLossParam

    use_label_lengths

    Whether the label lenghts are decided by label_lengths, or derived from padding_mask. If false, the lengths are derived from the first occurrence of the value of padding_mask. The value of padding_mask is 0 when first CTC label is reserved for blank, and -1 when last label is reserved for blank. See blank_label.

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

    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped