转 https://stackoverflow.com/questions/52249488/keras-source-codes-how-to-reach
There is way to get the source code which might be useful especially if you are not using the latest version (available on github).
You can always find the keras source code directly on your PC if you have installed the keras package. The directory it is installed in is : /python3.your_version/site-packages/keras