title: TensorFlow: AttributeError: 'Tensor' object has no attribute 'log10'
body: <p>I have been using tensorflow with python3 support. There is line in my code which throws me an error.</p>
  
  <p>The error here : </p>
  
  <pre><code>return -10. * np.log10(K.mean(K.square(y_pred - y_true)))
  </code></pre>
  
  <blockquote>
    <p>AttributeError: 'Tensor' object has no attribute 'log10'</p>
  </blockquote>