addSample

fun addSample(bottleneck: X, label: Y, isTraining: Boolean)

Add one sample point (bottleneck, label) for training or testing later. Thread-safe.