0
2 라운드 루프를 구현하고 싶습니다.텐서 흐름 동적 루프의 모범 사례?
그리고 그것을 구현하는 tf.while_loop
무엇 최선의 방법을 사용하여 수행하기 어려운 찾을 두 라운드를위한 tensorflow에 의해 루프?
나는 그것이 이렇게 될 수있는 희망 : 가능
import tensorflow as tf
a = tf.constant([1,2,3,4,5])
b = tf.constant([1,2,3,4,5])
sess = tf.Session()
for i in tf.range(tf.constant(0),tf.shape(a)[0]):
for j in tf.range(tf.constant(0),tf.shape(b)[0]):
print(sess.run([i,j]))
인가?