def accuracy(a, b):
"Each point of a is measured against the closest point on b. Distance differences are added together."
difference = tf.abs(a-b)
difference = tf.reduce_min(difference, axis=1)
difference = tf.reduce_sum(difference, axis=1)
return tf.reduce_sum( tf.reduce_sum(difference, axis=0) , axis=0)
评论列表
文章目录