batched_dict data { column1: [] column2: [] }
dataset.map(with_rank=True, with_indices=True)
dataset.batch(batch_size=32) # Iterate over the batched dataset for batch in batched_dataset: print(batch) break
Seonglae Cho
Seonglae Chobatched_dict data { column1: [] column2: [] }
dataset.map(with_rank=True, with_indices=True)
dataset.batch(batch_size=32) # Iterate over the batched dataset for batch in batched_dataset: print(batch) break