def merge_outputs(tensor_list, name='MergeOutputs'):
 with tf.name_scope(name) as scope:
  x = tf.concat(1, tensor_list)
 tf.add_to_collection(((tf.GraphKeys.LAYER_TENSOR + '/') + name), x)
 return x

def merge_outputs ( tensor_list , name = 'MergeOutputs' ) : with tf . name_scope ( name ) as scope : x = tf . concat ( 1 , tensor_list ) tf . add_to_collection ( ( ( tf . GraphKeys . LAYER_TENSOR + '/' ) + name ) , x ) return x
merge outputs .