MiniBatch

class dragon.operators.custom.minibatch.MiniBatchOp

Form a mini-batch based on dragon.utils.vision package.

setup(inputs, outputs)

Setup for params or options.

Parameters:
  • inputs (sequence of str) – The name of inputs.
  • outputs (sequence of str) – The name of outputs.
Returns:

Return type:

None

run(inputs, outputs)

Run method, i.e., forward pass.

Parameters:
  • inputs (sequence of str) – The name of inputs.
  • outputs (sequence of str) – The name of outputs.
Returns:

Return type:

None