How to set up theano config

后端 未结 5 425
面向向阳花
面向向阳花 2020-12-29 19:12

I\'m new to Theano. Trying to set up a config file.

First of all, I notice that I have no .theanorc file:

  1. locate .theanorc - returns nothi
5条回答
  •  没有蜡笔的小新
    2020-12-29 19:44

    I had a similar question and this is what helped me:

    import theano
    //...
    theano.config.floatX = 'float32' //or 'float64' whatever you want
    

提交回复
热议问题