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.
- Alphabetic
- By Inheritance
- TensorIterator
- ReadableTuple
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
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
-
abstract
def
getFloat(column: Int): Float
- returns
a float at given column.
- Definition Classes
- ReadableTuple
-
abstract
def
getInt(column: Int): Int
- returns
an int at given column.
- Definition Classes
- ReadableTuple
-
abstract
def
getLong(column: Int): Long
- returns
a long at given column.
- Definition Classes
- ReadableTuple
- abstract def getTensorData(): TensorData
-
abstract
def
isValid(): Boolean
- returns
if the iterator is still within its range.
-
abstract
def
next(): Unit
Move iterator to the next row.
-
abstract
def
start(): Unit
Rewinds the iterator to the beginning of its range.
-
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
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getBoolean(column: Int): Boolean
- returns
a boolean at given column (dimension or value)
- Definition Classes
- TensorIterator → ReadableTuple
-
def
getBytes(column: Int): Array[Byte]
- returns
a byte array at given column (dimension or value)
- Definition Classes
- TensorIterator → ReadableTuple
- Annotations
- @Override()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getDouble(column: Int): Double
- returns
a double at given column (dimension or value).
- Definition Classes
- TensorIterator → ReadableTuple
- Annotations
- @Override()
-
def
getString(column: Int): String
- returns
a String at given column (dimension or value).
- Definition Classes
- TensorIterator → ReadableTuple
- Annotations
- @Override()
-
def
getTypes(): Array[Representable]
- Definition Classes
- TensorIterator → ReadableTuple
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
- @throws( ... ) @native()