title: AttributeError: module 'keras.backend.tensorflow_backend' has no attribute 'set_image_dim_ordering'
body: <pre><code>---------------------------------------------------------------------------
  AttributeError                            Traceback (most recent call last)
  &lt;ipython-input-14-1f6cde7dea50&gt; in &lt;module&gt;
        5 from keras.utils import np_utils
        6 from keras import backend as K
  ----&gt; 7 K.tensorflow_backend.set_image_dim_ordering('th')
        8 import numpy as np
        9 import os
  
  AttributeError: module 'keras.backend.tensorflow_backend' has no attribute 'set_image_dim_ordering'
  </code></pre>
  <p>I'm using keras version 2.3.1.</p>
  <p>I am aware of a previous <a href="https://stackoverflow.com/questions/56851895/attributeerror-module-tensorflow-python-keras-api-v2-keras-backend-has-no-at">post</a> about this problem, but the original post's problem was caused by mixing tensorflow and keras in the importing section. However, I didn't use tensorflow in my program.</p>