SampleSpec

constructor(convertX: (List<X>) -> Array<X>, convertY: (List<Y>) -> Array<Y>, emptyY: (Int) -> Array<Y>, loss: (MutableList<Sample<X, Y>>, Array<Y>) -> Float, accuracy: (MutableList<Sample<X, Y>>, Array<Y>) -> Float)