Skip to main content

Batch

Batch

(inputs, targets) or (inputs, targets, weights); targets may be None.

weights are per-example weights [N]: a weight k counts the example k times.