TrainingSample

interface TrainingSample

A training sample that can write its values directly into flat arrays.

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val inputSize: Int

Number of input values in this sample.

Link copied to clipboard
abstract val outputSize: Int

Number of output values in this sample.

Functions

Link copied to clipboard
abstract fun fillAsInput(dest: FloatArray, fromIndex: Int): Int

Writes input values at fromIndex and returns the exclusive end index.

Link copied to clipboard
abstract fun fillAsOutput(dest: FloatArray, fromIndex: Int): Int

Writes output values at fromIndex and returns the exclusive end index.