I am running this code in python 3.7.3 getting the following error:-
TypeError: Cannot convert Type TensorType(float64, matrix) (of Variable Subtensor{int64:int64:}.0) into Type TensorType(float32, matrix). You can try to manually convert Subtensor{int64:int64:}.0 into a TensorType(float32, matrix).
I tried setting floatX=float64
The following is my .theano.txt
[global]
device = cpu
floatX = float64
[nvcc]
fastmath = True