dial_core.datasets.dataset module¶
-
class
dial_core.datasets.dataset.Dataset(x_data=None, y_data=None, x_type=None, y_type=None, batch_size=32, shuffled=False)[source]¶ Bases:
tensorflow.keras.utils.Sequence-
__getitem__(idx)[source]¶ Return the batch of items starting on idx.
Return type: Tuple[array,array]
-
items(start, end)[source]¶ Return the n elements between start and end as a tuple of (x, y) items Range is EXCLUSIVE [start, end)
Return type: Tuple[array,array]
-
property
shuffled¶ Check if the dataset is shuffled (dataset items randomly sorted)
Return type: bool
-