title: How to replace TensorFlow 2.0 "contrib" function calls?
body: <p>I am migrating my code from TensorFlow 1.13.1 to TensorFlow 2.0. However, "contrib" modules will be removed and I can't find a replacement for these functions:</p>
  
  <pre><code>tf.contrib.layers.l2_regularizer
  
  tf.contrib.image.transform
  </code></pre>
  
  <p>I thought about forking the whole "layers" and "image" directory, but this could get really messy, so I'd rather avoid that.</p>
  
  <p>Thanks!</p>