title: TypeError: reduce_sum() got an unexpected keyword argument 'keep_dims' in TF 2.0
body: <p>I update my code to use Tensorflow 2.0 from earlier version.
  while compiling model it throws error :</p>
  
  <blockquote>
    <p>TypeError: reduce_sum() got an unexpected keyword argument 'keep_dims'</p>
  </blockquote>
  
  <p>Do i need to make any specific changes for this in my code?</p>