__iter__() is only supported when eager execution is enabled
defparse_function(filename,filename2):image=read_image(fn)defret1():returnimage,read_image(fn2),0defret2():returnimage,preprocess(image),1returntf.case({tf.less(tf.random.uniform([1])[0],tf.constant(0