dymad.training.batch_adapter

Adapters between trainer batches and native typed runtimes.

Functions

batch_to_runtime(batch)

Normalize trainer input batches to the native typed runtime payload.

iter_runtime_batches(runtime)

Iterate over one or more typed runtimes.

dymad.training.batch_adapter.batch_to_runtime(batch)

Normalize trainer input batches to the native typed runtime payload.

Return type:

TypeAliasType

dymad.training.batch_adapter.iter_runtime_batches(runtime)

Iterate over one or more typed runtimes.