Skip to content

Dtypes

dtypes.BatchType = TypeVar('BatchType', bound=Sequence[object]) module-attribute

A batch container that holds many [DatumType][typing.DatumType].

dtypes.DatumType = TypeVar('DatumType') module-attribute

A single datum (float, NumPy array, dataframe, etc.) that can be put into [batches][typing.BatchType]. This can be the same type as [BatchType][typing.BatchType] if appropriate (e.g., NumPy array).

dtypes.OutputType = TypeVar('OutputType') module-attribute

Output of a Task.do that accepts [batches of DatumType][typing.BatchType].