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)
2024-01-30 10:48:40
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)
下一篇:mysql性能排查思路