public override IMiniBatch Get(IExecutionContext executionContext, IReadOnlyList <int> rows) { var data = _GetRows(rows) .Select(r => (new[] { Encode(r) }, _vectoriser.GetOutput(r).Data)) .ToList() ; return(_GetMiniBatch(rows, data)); }
Tuple <float[], float[]> _Convert(IRow row) { return(Tuple.Create(_vectoriser.GetInput(row), _vectoriser.GetOutput(row))); }