Packages

trait TensorIterator extends ReadableTuple

TensorIterator is responsible for a range of rows (possibly empty). At every moment of time, one row is current (zero if the range is empty). Both dimensions and the value of the current row are available via getters. Getters of column values are specialized for primitive types to save on an additional object allocation/dereferencing.

Linear Supertypes
ReadableTuple, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TensorIterator
  2. ReadableTuple
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getCopy(): TensorIterator

    returns

    a copy of the iterator at the current position. Can be used to return to a previously visited position.

    Definition Classes
    TensorIterator → ReadableTuple
  2. abstract def getFloat(column: Int): Float

    returns

    a float at given column.

    Definition Classes
    ReadableTuple
  3. abstract def getInt(column: Int): Int

    returns

    an int at given column.

    Definition Classes
    ReadableTuple
  4. abstract def getLong(column: Int): Long

    returns

    a long at given column.

    Definition Classes
    ReadableTuple
  5. abstract def getTensorData(): TensorData
  6. abstract def isValid(): Boolean

    returns

    if the iterator is still within its range.

  7. abstract def next(): Unit

    Move iterator to the next row.

  8. abstract def start(): Unit

    Rewinds the iterator to the beginning of its range.

  9. abstract def getValue(column: Int): AnyRef

    Originally created for ease of debugging.

    Originally created for ease of debugging. Should NOT be used for returning arbitrary objects, only for primitives.

    Annotations
    @Deprecated
    Deprecated

Concrete 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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def getBoolean(column: Int): Boolean

    returns

    a boolean at given column (dimension or value)

    Definition Classes
    TensorIterator → ReadableTuple
  10. def getBytes(column: Int): Array[Byte]

    returns

    a byte array at given column (dimension or value)

    Definition Classes
    TensorIterator → ReadableTuple
    Annotations
    @Override()
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getDouble(column: Int): Double

    returns

    a double at given column (dimension or value).

    Definition Classes
    TensorIterator → ReadableTuple
    Annotations
    @Override()
  13. def getString(column: Int): String

    returns

    a String at given column (dimension or value).

    Definition Classes
    TensorIterator → ReadableTuple
    Annotations
    @Override()
  14. def getTypes(): Array[Representable]
    Definition Classes
    TensorIterator → ReadableTuple
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from ReadableTuple

Inherited from AnyRef

Inherited from Any

Ungrouped