zero.data.Enumerate.__getitem__

Enumerate.__getitem__(index)[source]

Return index and the corresponding item from the underlying dataset.

Parameters

index

Returns

(index, item)

Return type

Tuple[Any, Any]