2
: 함께 그룹 myscope_0/result
, myscope_1/result
같은 뭔가tensorflow 다른 이름 범위에서 작업을 그룹화하는 방법은 무엇입니까? 예를 들어
for s in xrange(2):
with tf.name_scope('myscope_%d % s) as scope:
some ops
result = a op
내가 원하는 :
allops = tf.group(myscope_0/result, myscope_1/result)
어떻게 그것을 할까? 위의 줄이 잘못되었습니다.
덕분에,이 작동합니다. 그러나 그래프에 AssignAdd 연산이 두 개 이상있는 경우 마지막 op가 아닌 첫 번째 op가됩니다. – GoodSound