At this time, Keras has three backend implementations available: the TensorFlow backend, the Theano backend, and the CNTK backend.
If you have run Keras at least once, you will find the Keras configuration file at:
$HOME/.keras/keras.json
//HOME对不同的用户可能不同,可以使用echo $HOME查看路径,并且.keras是隐藏文件夹,可以使用ls查看,之后进入编辑模式,直接更改就可以了。
原文:https://www.cnblogs.com/BlueBlueSea/p/10630640.html