Skip to content

Conversation

j0b333
Copy link

@j0b333 j0b333 commented Jul 22, 2018

train_op ran into trouble as default theano.tensor.matrix is of type float64 while all other variables are of type float32.
Replacing X_in = T.matrix('X_%s' % self.id) by X_in = T.matrix('X_%s' % self.id, dtype='float32') fixes this issue.

train_op ran into trouble as default theano.tensor.matrix is of type float64 while all other variables are of type float32.
Declaring X_in as dtype='float32' fixes the problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant