1,dataset的方法
Dataset.make_one_shot_iterator() or get_next()
Dataset.make_one_shot_iterator()
get_next()
2,使用python的方法-当eager mode enabled时
print('Elements of ds_tensors:')for x in ds_tensors: print(x)
print(' Elements in ds_file:')for x in ds_file: print(x)