Open Zenome84 opened 5 years ago
On line 73 of ops.py, I assume that instead of: return v / (tf.reduce_sum(v ** 2) ** 0.5 + eps)
return v / (tf.reduce_sum(v ** 2) ** 0.5 + eps)
you meant to put: return v / (tf.sqrt(tf.reduce_sum(tf.square(v))) + eps)
return v / (tf.sqrt(tf.reduce_sum(tf.square(v))) + eps)
On line 73 of ops.py, I assume that instead of:
return v / (tf.reduce_sum(v ** 2) ** 0.5 + eps)
you meant to put:
return v / (tf.sqrt(tf.reduce_sum(tf.square(v))) + eps)