keras.backend' has no attribute 'set_image_dim_ordering' code example
Example: K.set_image_dim_ordering('tf') AttributeError: module 'keras.backend' has no attribute 'set_image_dim_ordering'
if(K.common.image_dim_ordering() == 'th'):
input_tensor = Input(shape=(3, 299, 299))