Im writing a model and doing the preprocessing part: I have a method which preprocesses my tensorflow dataset by calling:
ds = ds.map(process_path, num_parallel