遍历dataset的方法
作者:互联网
1,dataset的方法
Dataset.make_one_shot_iterator()
or get_next()
2,使用python的方法-当eager mode enabled时
print('Elements of ds_tensors:')
for x in ds_tensors:
print(x)
print('\nElements in ds_file:')
for x in ds_file:
print(x)
标签:遍历,ds,file,print,dataset,方法,tensors 来源: https://www.cnblogs.com/augustone/p/10506955.html