class LabeledSentence[T] extends Sentence[T]
Represent a sentence
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LabeledSentence
- Sentence
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new LabeledSentence(dataLength: Int, labelLength: Int)(implicit arg0: ClassTag[T], ev: TensorNumeric[T])
- new LabeledSentence()(implicit arg0: ClassTag[T], ev: TensorNumeric[T])
- new LabeledSentence(_data: Array[T], _label: Array[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
var
_data: Array[T]
- Attributes
- protected
-
var
_label: Array[T]
- Attributes
- protected
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): LabeledSentence[T]
- Definition Classes
- LabeledSentence → AnyRef
- def copy(other: LabeledSentence[T]): LabeledSentence[T]
- def copy(rawData: Array[T], rawLabel: Array[T]): LabeledSentence.this.type
- def copyToData(storage: Array[T], offset: Int): Unit
- def copyToLabel(storage: Array[T], offset: Int): Unit
-
def
data(): Array[T]
- Definition Classes
- LabeledSentence → Sentence
-
def
dataLength(): Int
- Definition Classes
- LabeledSentence → Sentence
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getData(index: Int): T
- def getLabel(index: Int): T
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def label(): Array[T]
- def labelLength(): Int
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )