Check out example codes for "'keras.backend' is not a package". It will help you in understanding the concepts better.

Code Example 1

Donw grading my keras version to 2.2.4 from 2.4.3 solved this problem
pip install Keras==2.2.4

Learn ReactJs, React Native from akashmittal.com