com.intel.analytics.bigdl.dataset.text

LabeledSentence

class LabeledSentence[T] extends Sentence[T]

Represent a sentence

T

Linear Supertypes
Sentence[T], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LabeledSentence
  2. Sentence
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LabeledSentence(dataLength: Int, labelLength: Int)(implicit arg0: ClassTag[T], ev: TensorNumeric[T])

  2. new LabeledSentence()(implicit arg0: ClassTag[T], ev: TensorNumeric[T])

  3. new LabeledSentence(_data: Array[T], _label: Array[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T])

    _data
    _label

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. var _data: Array[T]

    Attributes
    protected
  7. var _label: Array[T]

    Attributes
    protected
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): LabeledSentence[T]

    Definition Classes
    LabeledSentence → AnyRef
  10. def copy(other: LabeledSentence[T]): LabeledSentence[T]

  11. def copy(rawData: Array[T], rawLabel: Array[T]): LabeledSentence.this.type

  12. def copyToData(storage: Array[T], offset: Int): Unit

  13. def copyToLabel(storage: Array[T], offset: Int): Unit

  14. def data(): Array[T]

    Definition Classes
    LabeledSentenceSentence
  15. def dataLength(): Int

    Definition Classes
    LabeledSentenceSentence
  16. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  20. def getData(index: Int): T

  21. def getLabel(index: Int): T

  22. def hashCode(): Int

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

    Definition Classes
    Any
  24. def label(): Array[T]

  25. def labelLength(): Int

  26. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Sentence[T]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped