def client_data(): return models.keras_dataset_from_emnist(dataset).repeat(2).batch(2)
def client_data(): # 1. Repeat the single element dataset once (-> two elements of size 2) # 2. Batch the dataset by size 2 (1 element of size 2) return models.keras_dataset_from_emnist(dataset).repeat(2).batch(2)