title: What is a replacement for tf.losses.absolute_difference
body: <p>My question is about in <code>TF2.0</code>. There is no <code>tf.losses.absolute_difference()</code> function and also there is no <code>tf.losses.Reduction.MEAN</code> attribute.</p>
  
  <p>What should I use instead?
  Is there a list of deleted <code>TF</code> functions in <code>TF2</code> and perhaps their replacement. </p>
  
  <p>This is <code>TF1.x</code> code which does not run with <code>TF2</code>:  </p>
  
  <pre class="lang-py prettyprint-override"><code>result = tf.losses.absolute_difference(a,b,reduction=tf.losses.Reduction.MEAN)
  </code></pre>