DataBatch

data class DataBatch

This class represents the batch of data in OnHeapDataset.

Parameters

x

Data observations.

y

Labels.

size

Number of rows in batch.

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
shape
Link copied to clipboard
fun shape(elementSize: Int): List<Long>

Properties

size
Link copied to clipboard
val size: Int
x
Link copied to clipboard
val x: Array<FloatArray>
y
Link copied to clipboard
val y: FloatArray